mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
sudo: don't lecture me
This commit is contained in:
parent
0c4cf6ac21
commit
440d83829d
1 changed files with 2 additions and 0 deletions
|
@ -13,6 +13,8 @@
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
environment.variables.NIXPKGS_ALLOW_UNFREE = "1";
|
environment.variables.NIXPKGS_ALLOW_UNFREE = "1";
|
||||||
|
|
||||||
|
security.sudo.extraConfig = "Defaults lecture=never";
|
||||||
|
|
||||||
environment.systemPackages = map
|
environment.systemPackages = map
|
||||||
(x: (pkgs.writeShellScriptBin "sc-${x}" "nixos-rebuild ${x} --refresh --flake github:buckley310/nixos-config"))
|
(x: (pkgs.writeShellScriptBin "sc-${x}" "nixos-rebuild ${x} --refresh --flake github:buckley310/nixos-config"))
|
||||||
[ "switch" "build" "boot" ];
|
[ "switch" "build" "boot" ];
|
||||||
|
|
Loading…
Reference in a new issue