From 53733f3c48551495f6411d093016f146156a2b58 Mon Sep 17 00:00:00 2001 From: iFargle Date: Sun, 10 Dec 2023 12:43:57 +0900 Subject: [PATCH] Test --- lib/default.nix | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) 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