fix home-manager in nixos config

This commit is contained in:
CherryKitten 2024-03-24 19:47:29 +01:00
parent f1e972dba8
commit b15138f104
Signed by: sammy
GPG key ID: 98D8F75FB0658276

View file

@ -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");
};
}