about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <fcuny@roblox.com>2024-03-11 17:04:47 -0700
committerFranck Cuny <fcuny@roblox.com>2024-03-11 17:04:47 -0700
commitd3fb47aa02727802dd95f5bb77d391a897104eb4 (patch)
treeacd8c6a6374aa1340d9b9578f043ccf198cfefb1
parentbuild(deps): bump cachix/install-nix-action from 25 to 26 (diff)
downloadworld-d3fb47aa02727802dd95f5bb77d391a897104eb4.tar.gz
mark nix 2.16.2 as insecure
-rw-r--r--hosts/work/default.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/hosts/work/default.nix b/hosts/work/default.nix
index 120f0c8..6cc3d5d 100644
--- a/hosts/work/default.nix
+++ b/hosts/work/default.nix
@@ -8,7 +8,7 @@
     gc = {
       user = "root";
       automatic = true;
-      interval = { Weekday = 0; Hour = 2; Minute = 0; };
+      interval.Day = 7;
       options = "--delete-older-than 30d";
     };
 
@@ -21,6 +21,11 @@
   # in order to install things like 1password's extensions
   nixpkgs.config.allowUnfree = true;
 
+  # FIXME https://github.com/nix-community/nixd/issues/357
+  nixpkgs.config.permittedInsecurePackages = [
+    "nix-2.16.2"
+  ];
+
   programs.zsh.enable = true;
 
   users.users.fcuny.home = "/Users/fcuny";