mirror of
https://github.com/tomasriveral/nixos.git
synced 2026-08-12 10:30:44 +02:00
snapshot pre-autoupdate-2026-05-15T13-30-18Z
This commit is contained in:
@@ -162,6 +162,20 @@
|
|||||||
shell = pkgs.zsh;
|
shell = pkgs.zsh;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# removes need for password for nixos-rebuild
|
||||||
|
security.sudo.extraRules = [
|
||||||
|
{
|
||||||
|
users = [ "tomasr" ];
|
||||||
|
commands = [
|
||||||
|
{
|
||||||
|
command = "/run/current-system/sw/bin/nixos-rebuild";
|
||||||
|
options = [ "NOPASSWD" ];
|
||||||
|
}
|
||||||
|
];
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
|
|
||||||
#adds nixos experimental features:
|
#adds nixos experimental features:
|
||||||
nix.settings.experimental-features = ["nix-command" "flakes"];
|
nix.settings.experimental-features = ["nix-command" "flakes"];
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,6 @@ pkgs.writeShellApplication {
|
|||||||
nixos-rebuild
|
nixos-rebuild
|
||||||
matrix-commander-rs
|
matrix-commander-rs
|
||||||
libnotify
|
libnotify
|
||||||
sudo
|
|
||||||
];
|
];
|
||||||
|
|
||||||
text = ''
|
text = ''
|
||||||
|
|||||||
Reference in New Issue
Block a user