diff options
| author | 2025-03-02 11:11:55 +0300 | |
|---|---|---|
| committer | 2025-03-02 11:11:55 +0300 | |
| commit | 6a0b1b611688aa0beaaddc8d80c573b9ba9454d3 (patch) | |
| tree | 067b483b3fcc0249e25c659bcb1cc0c60888bc94 | |
| parent | feat(sapphire): install LACT (diff) | |
| download | nixos-configuration-6a0b1b611688aa0beaaddc8d80c573b9ba9454d3.tar.gz nixos-configuration-6a0b1b611688aa0beaaddc8d80c573b9ba9454d3.tar.bz2 nixos-configuration-6a0b1b611688aa0beaaddc8d80c573b9ba9454d3.tar.lz nixos-configuration-6a0b1b611688aa0beaaddc8d80c573b9ba9454d3.tar.xz nixos-configuration-6a0b1b611688aa0beaaddc8d80c573b9ba9454d3.tar.zst nixos-configuration-6a0b1b611688aa0beaaddc8d80c573b9ba9454d3.zip | |
feat(sapphire): reuse system nixpkgs in command line tools
| -rw-r--r-- | system-sapphire.nix | 6 |
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 ### |
