From aa9ab0ba2f968219317ef76a1ed06661e559cc7c Mon Sep 17 00:00:00 2001 From: Felix Stupp Date: Sun, 25 Aug 2024 18:20:14 +0000 Subject: [PATCH] flake: extract homeManagerModules as proper submodule --- flake.nix | 6 +----- nix/hmModules/default.nix | 7 ++++++- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/flake.nix b/flake.nix index 840b357..02c6b1d 100644 --- a/flake.nix +++ b/flake.nix @@ -66,11 +66,7 @@ devShells = importFlakeModWithSystem ./nix/devShells; - homeManagerModules = { - # combination of all my custom modules - # these should not change anything until you enable their custom options - default.imports = [ ./nix/hmModules ]; - }; + homeManagerModules = importFlakeMod ./nix/hmModules; lib = outputs.libAnchors // importFlakeMod ./nix/lib; diff --git a/nix/hmModules/default.nix b/nix/hmModules/default.nix index 3a8ff53..a3a4d4b 100644 --- a/nix/hmModules/default.nix +++ b/nix/hmModules/default.nix @@ -1,6 +1,11 @@ +{ ... }@flakeArg: { - imports = [ + + # combination of all my custom modules + # these should not change anything until you enable their custom options + default.imports = [ # directories ./extends ]; + }