diff options
author | tv <tv@krebsco.de> | 2023-01-04 16:17:42 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2023-01-08 13:46:02 +0100 |
commit | 7a45a35a58c1dca19bdd3102f6fa700ec52a38bf (patch) | |
tree | 258e861cbcd4212d46f35986592ac3d0c3ccb4f5 /tv/2configs | |
parent | 2ad769ccdd46763a5b0bedc0bde5d905338575a6 (diff) |
tv: move nix settings to separate file
Diffstat (limited to 'tv/2configs')
-rw-r--r-- | tv/2configs/default.nix | 10 | ||||
-rw-r--r-- | tv/2configs/nix.nix | 9 |
2 files changed, 10 insertions, 9 deletions
diff --git a/tv/2configs/default.nix b/tv/2configs/default.nix index f780709f0..4e2fd517d 100644 --- a/tv/2configs/default.nix +++ b/tv/2configs/default.nix @@ -16,6 +16,7 @@ with import ./lib; ./nets/hkw.nix ./networkd.nix ./nginx + ./nix.nix ./pki ./ssh.nix ./sshd.nix @@ -45,15 +46,6 @@ with import ./lib; } { - nix.settings.auto-optimise-store = true; - - # TODO check if both are required: - nix.settings.extra-sandbox-paths = [ - "/etc/protocols" - pkgs.iana-etc.outPath - ]; - } - { nixpkgs.config.allowUnfree = false; } { diff --git a/tv/2configs/nix.nix b/tv/2configs/nix.nix new file mode 100644 index 000000000..fa96d459f --- /dev/null +++ b/tv/2configs/nix.nix @@ -0,0 +1,9 @@ +{ pkgs, ... }: { + nix.settings.auto-optimise-store = true; + + # TODO check if both are required: + nix.settings.extra-sandbox-paths = [ + "/etc/protocols" + pkgs.iana-etc.outPath + ]; +} |