From 9267e890c86527c27052c925072634c438193416 Mon Sep 17 00:00:00 2001 From: serenity-F Date: Thu, 17 Sep 2026 16:49:11 +1000 Subject: [PATCH] sorta rewrote hades module ? --- modules/hosts/hades/default.nix | 61 +++++++++++++++++++++------------ 1 file changed, 39 insertions(+), 22 deletions(-) diff --git a/modules/hosts/hades/default.nix b/modules/hosts/hades/default.nix index 8306361..bdad6f8 100644 --- a/modules/hosts/hades/default.nix +++ b/modules/hosts/hades/default.nix @@ -17,33 +17,50 @@ in # defines the hades specific config modules flake.nixosConfigurations.hades = inputs.nixpkgs.lib.nixosSystem { - # modules that comprise the host specific module + # modules that comprise the host specific configuration modules = [ - # core system modules - self.nixosModules.core - - # 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 - ]; - }; - } + # actual desktop module set defined below + hades ]; }; + 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 + ]; + }; + } + + ]; + + }; + }