try to allow remote rebuilds without password

This commit is contained in:
Andreas Zweili 2022-02-28 16:35:04 +01:00
parent 58e9474d4f
commit 264986d505
1 changed files with 4 additions and 0 deletions

View File

@ -109,6 +109,10 @@
command = "/run/current-system/sw/bin/nixos-rebuild";
options = [ "NOPASSWD" ];
}
{
command = "/run/current-system/sw/bin/nix-env -p /nix/var/nix/profiles/system";
options = [ "NOPASSWD" ];
}
];
}
];