move hm import to hm module

This commit is contained in:
jacekpoz 2024-07-15 21:30:03 +02:00
parent 08266c5f82
commit b96b9523b9
Signed by: poz
SSH key fingerprint: SHA256:JyLeVWE4bF3tDnFeUpUaJsPsNlJyBldDGV/dIKSLyN8
2 changed files with 2 additions and 3 deletions

View file

@ -13,7 +13,6 @@ in {
modules = [ modules = [
./niks ./niks
../modules ../modules
inputs.home-manager.nixosModules.home-manager
inputs.agenix.nixosModules.default inputs.agenix.nixosModules.default
]; ];
}; };
@ -26,7 +25,6 @@ in {
modules = [ modules = [
./del ./del
../modules ../modules
inputs.home-manager.nixosModules.home-manager
inputs.agenix.nixosModules.default inputs.agenix.nixosModules.default
]; ];
}; };
@ -50,7 +48,6 @@ in {
modules = [ modules = [
./chmura ./chmura
../modules ../modules
inputs.home-manager.nixosModules.home-manager
inputs.agenix.nixosModules.default inputs.agenix.nixosModules.default
]; ];
}; };

View file

@ -15,6 +15,8 @@ in {
enableDirenv = mkEnableOption "direnv"; enableDirenv = mkEnableOption "direnv";
}; };
imports = [ inputs.home-manager.nixosModules.home-manager ];
config = mkIf cfg.enable { config = mkIf cfg.enable {
home-manager = { home-manager = {
useUserPackages = true; useUserPackages = true;