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

View file

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