diff options
| author | 2025-03-30 14:17:02 +0300 | |
|---|---|---|
| committer | 2025-03-30 14:17:02 +0300 | |
| commit | c17c6330bf92e206c91c4da6a8eafa75306fffa6 (patch) | |
| tree | 16d2b4e96bcd0824537f4b292b62c8fbd747e0e7 /user-mora.nix | |
| parent | feat(mora): add KiCAD (diff) | |
| download | nixos-configuration-c17c6330bf92e206c91c4da6a8eafa75306fffa6.tar.gz nixos-configuration-c17c6330bf92e206c91c4da6a8eafa75306fffa6.tar.bz2 nixos-configuration-c17c6330bf92e206c91c4da6a8eafa75306fffa6.tar.lz nixos-configuration-c17c6330bf92e206c91c4da6a8eafa75306fffa6.tar.xz nixos-configuration-c17c6330bf92e206c91c4da6a8eafa75306fffa6.tar.zst nixos-configuration-c17c6330bf92e206c91c4da6a8eafa75306fffa6.zip | |
feat: add `nixpkgs-pinned` to reduce updating huge packages
Diffstat (limited to 'user-mora.nix')
| -rw-r--r-- | user-mora.nix | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/user-mora.nix b/user-mora.nix index 5a4dea3..3a00430 100644 --- a/user-mora.nix +++ b/user-mora.nix @@ -1,5 +1,11 @@ { inputs, pkgs, ... }: +let + # NOTE: pinned nixpkgs to reduce updating huge packages + pkgs-pinned = import inputs.nixpkgs-pinned { + inherit (pkgs) system; + }; +in { home.stateVersion = "24.11"; home.username = "mora"; @@ -81,7 +87,7 @@ }; home.pointerCursor = let - catppuccin-cursors' = pkgs.catppuccin-cursors.overrideAttrs (prev: { + catppuccin-cursors' = pkgs-pinned.catppuccin-cursors.overrideAttrs (prev: { patchPhase = '' # FIX: GTK3-4 is screaming ;_; sed -i scripts/build-cursors -e 's/NOMINAL_SIZE=24/NOMINAL_SIZE=32/' @@ -133,7 +139,8 @@ _64gram fjordlauncher - kicad + + pkgs-pinned.kicad ]; ### |
