diff --git a/lib/default.nix b/lib/default.nix index 365493d0..677f522f 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -7,8 +7,15 @@ }: { user = "${username}"; hostname = "${hostname}"; - profiles.system.path = inputs.deploy-rs.lib.${platform}.activate.nixos self.nixosConfigurations.${hostname}; - profiles.system.sshUser = "${username}"; + + profiles.system = { + path = inputs.deploy-rs.lib.${platform}.activate.nixos self.nixosConfigurations.${hostname}; + sshUser = "${username}"; + }; + profiles.home-manager = { + path = inputs.deploy-rs.lib.${platform}.activate.nixos self.homeConfigurations."${username}@${hostname}"; + sshUser = "${username}"; + }; }; # Helper function for generating home-manager configs