aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2026-09-30 18:03:25 +0200
committerMartin Fischer <martin@push-f.com>2026-09-30 19:58:13 +0200
commit88909568036342f5692b0a7c6fc022416eb0235f (patch)
treeee45f3c1a3bac3f236391901181116e0055b952f
parentc1bbb4d0740137014523a08ffc2b3ec7188cc7db (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.nix2
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>}"
];