sorta rewrote hades module ?

This commit is contained in:
serenity-F 2026-09-17 16:49:11 +10:00
parent fe45191deb
commit 9267e890c8
No known key found for this signature in database

View file

@ -17,33 +17,50 @@ in
# defines the hades specific config modules # defines the hades specific config modules
flake.nixosConfigurations.hades = inputs.nixpkgs.lib.nixosSystem { flake.nixosConfigurations.hades = inputs.nixpkgs.lib.nixosSystem {
# modules that comprise the host specific module # modules that comprise the host specific configuration
modules = [ modules = [
# core system modules # actual desktop module set defined below
self.nixosModules.core hades
# hades system modules
self.nixosModules.hades
self.nixosModules.hades-hardware
# extra modules
self.modules.nixos.gaming
# users to include on host
self.modules.nixos.serenity
# home manager and home manager imports
inputs.home-manager.nixosModules.home-manager
{
home-manager.users.serenity = {
imports = [
config.flake.homeModules.desktop
];
};
}
]; ];
}; };
flake.nixosModules.hades =
{
pkgs,
inputs,
config,
...
}:
{
imports = with self.nixosModules; [
# core system modules
core
# hades system modules
hades-hardware
# extra modules
gaming
# users to include on host
serenity
# home manager and home manager imports
inputs.home-manager.nixosModules.home-manager
{
home-manager.users.serenity = {
imports = [
config.flake.homeModules.desktop
];
};
}
];
};
} }