feat: configure niri + cursor pack
This commit is contained in:
1 parent
a0205f5e61
commit
263ac2db2b
3 files changed
+421
-9
No files matched your search
@@ -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;
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user