try to allow remote rebuilds without password
This commit is contained in:
parent
58e9474d4f
commit
264986d505
|
@ -109,6 +109,10 @@
|
||||||
command = "/run/current-system/sw/bin/nixos-rebuild";
|
command = "/run/current-system/sw/bin/nixos-rebuild";
|
||||||
options = [ "NOPASSWD" ];
|
options = [ "NOPASSWD" ];
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
command = "/run/current-system/sw/bin/nix-env -p /nix/var/nix/profiles/system";
|
||||||
|
options = [ "NOPASSWD" ];
|
||||||
|
}
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in New Issue