summaryrefslogtreecommitdiffstats
path: root/tv/2configs/default.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2022-12-05 16:54:54 +0100
committertv <tv@krebsco.de>2022-12-05 17:43:11 +0100
commit6a82f294335cbc0991f7a95355adfb9f7b7e6f43 (patch)
tree77226adf7a5eb7f953254fcff146fb1bcb75d24e /tv/2configs/default.nix
parentdfd8f1f93c492eb33de6d3642248b3f504ac4742 (diff)
tv: use nix.settings
Diffstat (limited to 'tv/2configs/default.nix')
-rw-r--r--tv/2configs/default.nix13
1 files changed, 5 insertions, 8 deletions
diff --git a/tv/2configs/default.nix b/tv/2configs/default.nix
index 41dab525a..c9047023e 100644
--- a/tv/2configs/default.nix
+++ b/tv/2configs/default.nix
@@ -46,18 +46,15 @@ with import <stockholm/lib>;
}
{
- # TODO check if both are required:
- nix.sandboxPaths = [ "/etc/protocols" pkgs.iana-etc.outPath ];
-
- nix.requireSignedBinaryCaches = true;
-
- nix.binaryCaches = ["https://cache.nixos.org"];
-
nix.extraOptions = ''
auto-optimise-store = true
'';
- nix.useSandbox = true;
+ # TODO check if both are required:
+ nix.settings.extra-sandbox-paths = [
+ "/etc/protocols"
+ pkgs.iana-etc.outPath
+ ];
}
{
nixpkgs.config.allowUnfree = false;