diff options
| author | Martin Fischer <martin@push-f.com> | 2026-09-30 18:03:25 +0200 |
|---|---|---|
| committer | Martin Fischer <martin@push-f.com> | 2026-10-11 14:40:57 +0200 |
| commit | cfd836ab2933df66f99d7c0200da60e36f58b524 (patch) | |
| tree | acb24e94e20ac3b8528df1b4945d00560097dda9 | |
| parent | af4c115e543df8d3caa6a12ac15b07caea4c7c6e (diff) | |
fix(workstation): don't duplicate nixpkgs in Nix store
Because of pkgs.path it was duplicated like this:
/nix/store/pc9hl2h87dzm7m4dypva8avlsgyjvd5l-source
/nix/store/49qdbzdg4bdq1ahw6jsk1i96nfg0hcjj-pc9hl2h87dzm7m4dypva8avlsgyjvd5l-source
| -rw-r--r-- | nixos/profiles/workstation/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/profiles/workstation/default.nix b/nixos/profiles/workstation/default.nix index fef1757..9332bca 100644 --- a/nixos/profiles/workstation/default.nix +++ b/nixos/profiles/workstation/default.nix @@ -25,7 +25,7 @@ in config = { # Makes commands default to the same Nixpkgs, config, overlays and NixOS configuration nix.nixPath = [ - "nixpkgs=${pkgs.path}" + "nixpkgs=${toString <nixpkgs>}" "nixpkgs-unstable=${pkgs-unstable.path}" "nixos-config=${toString <nixos-config>}" ]; |
