Reorg deploy

This commit is contained in:
iFargle 2023-12-13 08:53:03 +09:00
parent 6a95a7b44c
commit 3eb016dd55
2 changed files with 3 additions and 12 deletions

View file

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

View file

@ -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" ];