diff --git a/flake.nix b/flake.nix index c87a9d1..97528e0 100644 --- a/flake.nix +++ b/flake.nix @@ -56,6 +56,12 @@ # shortcut to fully configured secrix apps.x86_64-linux.secrix = inputs.secrix.secrix self; + homeManagerModules = { + # combination of all my custom modules + # these should not change anything until you enable their custom options + default.imports = [ ./nix/hmModules ]; + }; + nixosConfigurations = let nixpkgs = inputs.nixpkgs; @@ -65,6 +71,7 @@ modsExtended = [ outputs.nixosModules.myOptions outputs.nixosModules.withDepends + { home-manager.sharedModules = [ outputs.homeManagerModules.default ]; } ] ++ modules; in nixpkgs.lib.nixosSystem { diff --git a/nix/hmModules/default.nix b/nix/hmModules/default.nix new file mode 100644 index 0000000..3a8ff53 --- /dev/null +++ b/nix/hmModules/default.nix @@ -0,0 +1,6 @@ +{ + imports = [ + # directories + ./extends + ]; +} diff --git a/nix/hmModules/extends/default.nix b/nix/hmModules/extends/default.nix new file mode 100644 index 0000000..21c286b --- /dev/null +++ b/nix/hmModules/extends/default.nix @@ -0,0 +1,5 @@ +{ + imports = [ + # files + ]; +}