modify
This commit is contained in:
@@ -49,13 +49,23 @@ in {
|
||||
|
||||
security.sudo = {
|
||||
enable = true;
|
||||
extraRules = [{
|
||||
commands = [{
|
||||
command = "${pkgs.grub2}/bin/grub-reboot";
|
||||
options = [ "NOPASSWD" ];
|
||||
}];
|
||||
groups = [ "wheel" ];
|
||||
}];
|
||||
extraRules = [
|
||||
{
|
||||
users = ["allen"];
|
||||
commands = [{
|
||||
command = "/run/current-system/sw/bin/systemctl reboot --force";
|
||||
options = [ "NOPASSWD" ];
|
||||
}];
|
||||
}
|
||||
|
||||
{
|
||||
commands = [{
|
||||
command = "${pkgs.grub2}/bin/grub-reboot";
|
||||
options = [ "NOPASSWD" ];
|
||||
}];
|
||||
groups = [ "wheel" ];
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
security.pam.loginLimits = [
|
||||
@@ -136,7 +146,6 @@ in {
|
||||
gnome-tweaks
|
||||
xf86_input_wacom
|
||||
glfw
|
||||
wacomtablet
|
||||
libimobiledevice
|
||||
ifuse
|
||||
git
|
||||
@@ -170,3 +179,5 @@ in {
|
||||
system.stateVersion = "25.05"; # Did you read the comment?
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user