Reorg deploy
This commit is contained in:
parent
6a95a7b44c
commit
3eb016dd55
2 changed files with 3 additions and 12 deletions
|
@ -11,17 +11,8 @@
|
|||
sshOpts = [ "-A" "-q"];
|
||||
|
||||
profiles = {
|
||||
system = {
|
||||
path = inputs.deploy-rs.lib.${platform}.activate.nixos self.nixosConfigurations.${hostname};
|
||||
user = "root";
|
||||
sshUser = "${username}";
|
||||
};
|
||||
# home-manager = {
|
||||
# path = inputs.deploy-rs.lib.${platform}.activate.home-manager self.homeConfigurations."${username}@${hostname}";
|
||||
# user = "root";
|
||||
# sshUser = "${username}";
|
||||
# sshOpts = [ "-A" ];
|
||||
# };
|
||||
system.path = inputs.deploy-rs.lib.${platform}.activate.nixos self.nixosConfigurations.${hostname};
|
||||
home-manager.path = inputs.deploy-rs.lib.${platform}.activate.home-manager self.homeConfigurations."${username}@${hostname}";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@ in {
|
|||
# Make this user trusted
|
||||
nix.settings.trusted-users = [ "albert" ];
|
||||
|
||||
# No sudo password
|
||||
# No sudo password - deploy-rs
|
||||
security.sudo.extraRules = [
|
||||
{
|
||||
users = [ "albert" ];
|
||||
|
|
Loading…
Reference in a new issue