From b15138f104142bb30303dbe4e3d33271748bd8ad Mon Sep 17 00:00:00 2001 From: CherryKitten Date: Sun, 24 Mar 2024 19:47:29 +0100 Subject: [PATCH] fix home-manager in nixos config --- hosts/common/users.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hosts/common/users.nix b/hosts/common/users.nix index 630e798..e8e64fc 100644 --- a/hosts/common/users.nix +++ b/hosts/common/users.nix @@ -17,7 +17,7 @@ in openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJZyQSZw+pExsx2RXB+yxbaJGB9mtvudbQ/BP7E1yKvr openpgp:0x6068FEBB" ]; }; - home-manager.users.sammy = lib.mkIf cfg.sammy.enable (import ../../users/sammy.nix) - // lib.mkIf (lib.pathExists (../../users + "/sammy@${hostname}.nix")) (import ../../users + "sammy@${hostname}.nix"); + home-manager.users.sammy = lib.mkIf cfg.sammy.enable (import ../../users/sammy.nix); +# something with this is wrong lol // lib.mkIf (lib.pathExists (../../users + "/sammy@${hostname}.nix")) (import ../../users + "sammy@${hostname}.nix"); }; }