updated toggleable user

This commit is contained in:
2025-10-04 12:19:47 -05:00
parent beda19afd3
commit af8b6a522e
2 changed files with 16 additions and 2 deletions

View File

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