From c64de1af3152bb26300ba4ba99c0dd7cf7a268d8 Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Sun, 11 May 2025 10:32:56 +0200 Subject: tweak(workstation): add config for XPPen tablet 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. --- nixos/profiles/common/sanix.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'nixos/profiles/common/sanix.nix') 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 }" - "nixpkgs-overlays=${toString ./nixpkgs/overlays.nix}" ]; environment.variables.NIXPKGS_CONFIG = lib.mkForce (toString ./nixpkgs/config.nix); -- cgit v1.2.3