aboutsummaryrefslogtreecommitdiff
path: root/system-sapphire.nix
diff options
context:
space:
mode:
Diffstat (limited to 'system-sapphire.nix')
-rw-r--r--system-sapphire.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/system-sapphire.nix b/system-sapphire.nix
index 1389795..6372449 100644
--- a/system-sapphire.nix
+++ b/system-sapphire.nix
@@ -1,4 +1,4 @@
-{ modulesPath, config, lib, pkgs, ... }:
+{ inputs, modulesPath, config, lib, pkgs, ... }:
{
###
@@ -8,6 +8,10 @@
system.stateVersion = "25.05";
nixpkgs.config.allowUnfree = true;
+ # Use the same nixpkgs for system and for `nix-shell` and `nix shell`
+ nix.registry.nixpkgs.flake = inputs.nixpkgs;
+ nix.nixPath = [ "nixpkgs=${inputs.nixpkgs.outPath}" "/nix/var/nix/profiles/per-user/root/channels" ];
+
###
### Filesystems
###