feat: configure niri + cursor pack

This commit is contained in:
leonhard committed 2026-11-23 14:02:15 +01:00
1 parent a0205f5e61
commit a4a7a8b88c
4 files changed
+422 -10

No files matched your search

+37
View File
@@ -0,0 +1,37 @@
{
config,
lib,
pkgs,
...
}:
{
config = lib.mkIf config.nix-leonhard.graphical.enable {
home.packages = [
(pkgs.stdenvNoCC.mkDerivation rec {
pname = "nordzy-cursors-default";
version = "2.4.0";
src = pkgs.fetchzip {
url = "https://github.com/guillaumeboehm/Nordzy-cursors/releases/download/v${version}/Nordzy-cursors.tar.gz";
hash = lib.fakeHash;
stripRoot = false;
};
dontBuild = true;
installPhase = ''
runHook preInstall
mkdir -p $out/share/icons
cp -r Nordzy-cursors $out/share/icons
runHook postInstall
'';
})
];
xdg.configFile."niri/config.kdl".source = ./config.kdl;
wayland.windowManager.niri = {
enable = true;
};
};
}