add new home-manager modules structure & add to configs

main
Felix Stupp 2 months ago
parent 059ff2364c
commit 04c82801d2
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -56,6 +56,12 @@
# shortcut to fully configured secrix # shortcut to fully configured secrix
apps.x86_64-linux.secrix = inputs.secrix.secrix self; 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 = nixosConfigurations =
let let
nixpkgs = inputs.nixpkgs; nixpkgs = inputs.nixpkgs;
@ -65,6 +71,7 @@
modsExtended = [ modsExtended = [
outputs.nixosModules.myOptions outputs.nixosModules.myOptions
outputs.nixosModules.withDepends outputs.nixosModules.withDepends
{ home-manager.sharedModules = [ outputs.homeManagerModules.default ]; }
] ++ modules; ] ++ modules;
in in
nixpkgs.lib.nixosSystem { nixpkgs.lib.nixosSystem {

@ -0,0 +1,6 @@
{
imports = [
# directories
./extends
];
}

@ -0,0 +1,5 @@
{
imports = [
# files
];
}
Loading…
Cancel
Save