diff options
| author | Martin Fischer <martin@push-f.com> | 2026-05-24 20:39:33 +0200 |
|---|---|---|
| committer | Martin Fischer <martin@push-f.com> | 2026-05-24 20:39:33 +0200 |
| commit | 7751902902f2f8cdb4e140b48838b0bcb3903860 (patch) | |
| tree | 5753c01ba0170627e03043c2c40fee6e94506e17 /nixos | |
| parent | a78c6e3341c870077e45fa7251b92bf0f897c90f (diff) | |
tweak(workstation): add nixpkgs-unstable to NIX_PATH
Diffstat (limited to 'nixos')
| -rw-r--r-- | nixos/profiles/workstation/default.nix | 3 |
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); |
