updated toggleable user
This commit is contained in:
@@ -27,6 +27,20 @@
|
||||
# enable user
|
||||
users.blake.enable = true;
|
||||
|
||||
# passwordless rebuild
|
||||
security.sudo.extraRules = [
|
||||
{
|
||||
users = [ "blake" ];
|
||||
commands = [
|
||||
{
|
||||
command = "${config.system.build.nixos-rebuild}";
|
||||
options = [ "NOPASSWD" ];
|
||||
}
|
||||
];
|
||||
}
|
||||
];
|
||||
|
||||
|
||||
# use the systemd-boot EFI boot loader.
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
Reference in New Issue
Block a user