This commit is contained in:
parent
a6c0cc5006
commit
73e306fee8
1 changed files with 9 additions and 8 deletions
|
@ -8,15 +8,16 @@
|
|||
user = "${username}";
|
||||
hostname = "${hostname}";
|
||||
|
||||
profiles.system = {
|
||||
path = inputs.deploy-rs.lib.${platform}.activate.nixos self.nixosConfigurations.${hostname};
|
||||
sshUser = "${username}";
|
||||
profiles = {
|
||||
system = {
|
||||
path = inputs.deploy-rs.lib.${platform}.activate.nixos self.nixosConfigurations.${hostname};
|
||||
sshUser = "root";
|
||||
};
|
||||
home-manager = {
|
||||
path = inputs.deploy-rs.lib.${platform}.activate.nixos self.homeConfigurations."${username}@${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
|
||||
mkHome = {
|
||||
|
|
Loading…
Reference in a new issue