summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/nix.nix8
1 files changed, 5 insertions, 3 deletions
diff --git a/config/nix.nix b/config/nix.nix
index 436adf4..2b9acc4 100644
--- a/config/nix.nix
+++ b/config/nix.nix
@@ -1,6 +1,4 @@
-{ lib, ... }:
-
-{
+{lib, ...}: {
personal.nix = {
enable = true;
autoUpgrade = true;
@@ -8,6 +6,10 @@
flake = "git+file:///etc/nixos/";
};
nix.settings.max-jobs = lib.mkDefault 1;
+ nixpkgs.flake = {
+ setNixPath = true;
+ setFlakeRegistry = true;
+ };
system.autoUpgrade.flags = [
# for reading secrets from a file
"--impure"