sorta rewrote hades module ?
This commit is contained in:
parent
fe45191deb
commit
9267e890c8
1 changed files with 39 additions and 22 deletions
|
|
@ -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
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
];
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue