From b96b9523b9ca0f87ece1686c7dd69a05b4c1a822 Mon Sep 17 00:00:00 2001 From: jacekpoz Date: Mon, 15 Jul 2024 21:30:03 +0200 Subject: [PATCH] move hm import to hm module --- hosts/default.nix | 3 --- modules/other/home-manager.nix | 2 ++ 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/hosts/default.nix b/hosts/default.nix index 6018fe5..16561ec 100644 --- a/hosts/default.nix +++ b/hosts/default.nix @@ -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 ]; }; diff --git a/modules/other/home-manager.nix b/modules/other/home-manager.nix index 507934f..60e3657 100644 --- a/modules/other/home-manager.nix +++ b/modules/other/home-manager.nix @@ -15,6 +15,8 @@ in { enableDirenv = mkEnableOption "direnv"; }; + imports = [ inputs.home-manager.nixosModules.home-manager ]; + config = mkIf cfg.enable { home-manager = { useUserPackages = true;