about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--services/nix/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/services/nix/default.nix b/services/nix/default.nix
index 27f9b170..b0720788 100644
--- a/services/nix/default.nix
+++ b/services/nix/default.nix
@@ -2,6 +2,7 @@
   config,
   lib,
   pkgs,
+  inputs,
   ...
 }: {
   nix = {
@@ -17,6 +18,10 @@
 
       keep-failed = true; #keep failed tmp build dirs
       pure-eval = true; # restrict file system and network access to  hash
+
+      # Flakes settings
+      package = pkgs.nixVersions.stable;
+      registry.nixpkgs.flake = inputs.nixpkgs;
     };
   };
 }