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"];
|
sshOpts = [ "-A" "-q"];
|
||||||
|
|
||||||
profiles = {
|
profiles = {
|
||||||
system = {
|
system.path = inputs.deploy-rs.lib.${platform}.activate.nixos self.nixosConfigurations.${hostname};
|
||||||
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}";
|
||||||
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" ];
|
|
||||||
# };
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@ in {
|
||||||
# Make this user trusted
|
# Make this user trusted
|
||||||
nix.settings.trusted-users = [ "albert" ];
|
nix.settings.trusted-users = [ "albert" ];
|
||||||
|
|
||||||
# No sudo password
|
# No sudo password - deploy-rs
|
||||||
security.sudo.extraRules = [
|
security.sudo.extraRules = [
|
||||||
{
|
{
|
||||||
users = [ "albert" ];
|
users = [ "albert" ];
|
||||||
|
|
Loading…
Reference in a new issue