This commit is contained in:
Tao Tien 2024-03-23 01:24:31 -07:00
parent 0b55473b24
commit 39fc8a0427
4 changed files with 14 additions and 9 deletions

View file

@ -36,4 +36,15 @@
value = -20;
}
];
security.sudo-rs.extraRules = [
{
commands = [
{
command = "${pkgs.systemd}/bin/bootctl set-oneshot auto-windows";
options = ["NOPASSWD"];
}
];
groups = ["wheel"];
}
];
}