diff --git a/flake.lock b/flake.lock index 993cba9..7177d2f 100644 --- a/flake.lock +++ b/flake.lock @@ -1340,6 +1340,22 @@ "type": "github" } }, + "nixpkgs-small": { + "locked": { + "lastModified": 1729164558, + "narHash": "sha256-dgla/HMyeUIbs0Qtd9DLB4BKFNz+Z8rUO0pbaW5ie2M=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "8bddc04f2eecdadeb2a7ab3674bdafc27b933f76", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-unstable-small", + "repo": "nixpkgs", + "type": "github" + } + }, "nixpkgs-stable": { "locked": { "lastModified": 1702780907, @@ -3432,6 +3448,7 @@ "nix-webring": "nix-webring", "nixpak": "nixpak", "nixpkgs": "nixpkgs_9", + "nixpkgs-small": "nixpkgs-small", "nur": "nur", "nvf": "nvf", "pozsite": "pozsite", diff --git a/flake.nix b/flake.nix index 0143463..88ef067 100644 --- a/flake.nix +++ b/flake.nix @@ -15,6 +15,8 @@ inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; + nixpkgs-small.url = "github:NixOS/nixpkgs/nixos-unstable-small"; + hyprland.url = "github:hyprwm/Hyprland"; hyprlock = { diff --git a/hosts/niks/programs.nix b/hosts/niks/programs.nix index 293cd29..aa6e7a1 100644 --- a/hosts/niks/programs.nix +++ b/hosts/niks/programs.nix @@ -1,6 +1,7 @@ { config, lib, + inputs, pkgs, ... }: let @@ -50,7 +51,6 @@ in { file fastfetch uutils-coreutils - anki alsa-utils ezquake imagemagick @@ -76,7 +76,6 @@ in { gomuks twitch-tui ytfzf - mat2 simplex-chat-desktop libsixel lsix @@ -114,5 +113,11 @@ in { cpupower perf ; + inherit (inputs.nixpkgs-small.legacyPackages.${pkgs.stdenv.system}) + # TODO: https://nixpk.gs/pr-tracker.html?pr=348419 + mat2 + # TODO: https://github.com/NixOS/nixpkgs/issues/348845 + anki + ; }; } diff --git a/modules/gui/hypr/land.nix b/modules/gui/hypr/land.nix index c687bdf..d6e2232 100644 --- a/modules/gui/hypr/land.nix +++ b/modules/gui/hypr/land.nix @@ -26,7 +26,8 @@ footclient = getExe' pkgs.foot "footclient"; wl-copy = getExe' pkgs.wl-clipboard "wl-copy"; wl-paste = getExe' pkgs.wl-clipboard "wl-paste"; - cliphist = getExe pkgs.cliphist; + # TODO: https://nixpk.gs/pr-tracker.html?pr=348887 + cliphist = getExe inputs.nixpkgs-small.legacyPackages.${pkgs.stdenv.system}.cliphist; swww-daemon = getExe' pkgs.swww "swww-daemon"; wlsunset = getExe pkgs.wlsunset; anyrun = getExe inputs.anyrun.packages.${pkgs.stdenv.system}.anyrun; @@ -164,12 +165,15 @@ in { users.users.${username}.packages = attrValues { inherit (pkgs) - cliphist wl-clipboard hyprpicker ydotool wev ; + # TODO: https://nixpk.gs/pr-tracker.html?pr=348887 + inherit (inputs.nixpkgs-small.legacyPackages.${pkgs.stdenv.system}) + cliphist + ; inherit (inputs.hyprcontrib.packages.${pkgs.stdenv.system}) hyprprop grimblast