aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2026-05-24 20:39:33 +0200
committerMartin Fischer <martin@push-f.com>2026-05-24 20:39:33 +0200
commit7751902902f2f8cdb4e140b48838b0bcb3903860 (patch)
tree5753c01ba0170627e03043c2c40fee6e94506e17
parenta78c6e3341c870077e45fa7251b92bf0f897c90f (diff)
tweak(workstation): add nixpkgs-unstable to NIX_PATH
-rw-r--r--nixos/profiles/workstation/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/profiles/workstation/default.nix b/nixos/profiles/workstation/default.nix
index 2c70f0e..1b1699b 100644
--- a/nixos/profiles/workstation/default.nix
+++ b/nixos/profiles/workstation/default.nix
@@ -1,4 +1,4 @@
-{ config, lib, pkgs, ... }:
+{ config, lib, pkgs, pkgs-unstable, ... }:
let
cfg = config.workstation;
@@ -25,6 +25,7 @@ in
# Makes commands default to the same Nixpkgs, config, overlays and NixOS configuration
nix.nixPath = [
"nixpkgs=${pkgs.path}"
+ "nixpkgs-unstable=${pkgs-unstable.path}"
"nixos-config=${toString <nixos-config>}"
];
environment.variables.NIXPKGS_CONFIG = lib.mkForce (toString ./nixpkgs/config.nix);