mirror of
https://codeberg.org/leana8959/.files.git
synced 2026-02-01 14:29:40 +00:00
nixos/system-nixconf: disable prompt to accept-flake-config
This commit is contained in:
parent
f8aae6bd65
commit
2f4b5e59fe
1 changed files with 4 additions and 0 deletions
|
|
@ -8,6 +8,10 @@
|
|||
package = lib.mkDefault pkgs.nix;
|
||||
|
||||
settings = {
|
||||
# it is impossible to anser in nix-direnv, so we force it to off.
|
||||
# https://github.com/nix-community/nix-direnv/issues/678
|
||||
accept-flake-config = lib.mkForce false;
|
||||
|
||||
# Try to have at least 10GB of space by default
|
||||
min-free = lib.mkDefault (5 * 1024 * 1024 * 1024);
|
||||
max-free = lib.mkDefault (10 * 1024 * 1024 * 1024);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue