summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstuebinm2023-04-29 14:04:29 +0200
committerstuebinm2023-04-29 14:04:29 +0200
commit7effb4226a8db889ee092c39d9d92643e681150d (patch)
tree527b3d28c1ae035c1b5535418fe7edc12ed32248
parent09362cc3d3e93428331045fe4e868d6f708f9b5b (diff)
common: nix search path identical to flake registry
(note: nix will only notice this for newly logged-in users after a switch)
-rw-r--r--common/common.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/common.nix b/common/common.nix
index ee5ddf2..51e4b28 100644
--- a/common/common.nix
+++ b/common/common.nix
@@ -6,6 +6,8 @@
nixpkgs.flake = inputs.nixpkgs;
unstable.flake = inputs.nixpkgs-unstable;
};
+ nix.nixPath = lib.mkForce
+ [ "nixpkgs=${inputs.nixpkgs}" "unstable=${inputs.nixpkgs-unstable}"];
services.journald.extraConfig = "MaxRetentionSec=48h";