snapshot pre-autoupdate-2026-05-15T13-30-18Z

This commit is contained in:
2026-05-15 15:30:18 +02:00
parent 2e863e67d9
commit 06ed68e4e5
2 changed files with 14 additions and 1 deletions
+14
View File
@@ -162,6 +162,20 @@
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:
nix.settings.experimental-features = ["nix-command" "flakes"];