summaryrefslogtreecommitdiff
path: root/nixos/profiles/common/sanix.nix
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2025-05-11 10:32:56 +0200
committerMartin Fischer <martin@push-f.com>2025-06-16 16:25:48 +0200
commit04959cf36110c9687edb94734239e8cf9d36d5b1 (patch)
tree9b74a19c4a2945beeedaa1da04df272fbacda665 /nixos/profiles/common/sanix.nix
parenta6c04914a4c038b5e3778e11afa89dd21a6d7874 (diff)
tweak(workstation): add config for XPPen tabletHEADmaster
I'm removing nixpkgs-overlays from nix.nixPath because overlays seem to work fine without it (with just nixpkgs.overlays). And keeping it would have required me to adapt the path because `nix-shell -p` was failing with "The overlays argument to nixpkgs must be a list" due to the new pkgs param.
Diffstat (limited to 'nixos/profiles/common/sanix.nix')
-rw-r--r--nixos/profiles/common/sanix.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/nixos/profiles/common/sanix.nix b/nixos/profiles/common/sanix.nix
index a20db24..626aa73 100644
--- a/nixos/profiles/common/sanix.nix
+++ b/nixos/profiles/common/sanix.nix
@@ -2,14 +2,13 @@
# Use the Nixpkgs config and overlays from the local files for this NixOS build
nixpkgs = {
config = import ./nixpkgs/config.nix;
- overlays = import ./nixpkgs/overlays.nix;
+ overlays = import ./nixpkgs/overlays.nix { inherit pkgs; };
};
# Makes commands default to the same Nixpkgs, config, overlays and NixOS configuration
nix.nixPath = [
"nixpkgs=${pkgs.path}"
"nixos-config=${toString <nixos-config>}"
- "nixpkgs-overlays=${toString ./nixpkgs/overlays.nix}"
];
environment.variables.NIXPKGS_CONFIG = lib.mkForce (toString ./nixpkgs/config.nix);