aboutsummaryrefslogtreecommitdiff
path: root/nixos
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-10-11 14:40:57 +0200
commitcfd836ab2933df66f99d7c0200da60e36f58b524 (patch)
treeacb24e94e20ac3b8528df1b4945d00560097dda9 /nixos
parentaf4c115e543df8d3caa6a12ac15b07caea4c7c6e (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
Diffstat (limited to 'nixos')
-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>}"
];