diff --git a/modules/home/cursor/default.nix b/modules/home/cursor/default.nix new file mode 100644 index 0000000..e753253 --- /dev/null +++ b/modules/home/cursor/default.nix @@ -0,0 +1,15 @@ +{ pkgs, ... }: { + home.pointerCursor = let getFrom = url: hash: name: { + gtk.enable = true; + x11.enable = true; + name = name; + size = 24; + package = pkgs.runCommand "moveUp" {} '' + mkdir -p $out/share/icons + ln -s ${pkgs.fetchzip{ + url = url; + hash = hash; + }} $out/share/icons/${name} + ''; + }; in getFrom "https://github.com/rose-pine/cursor/releases/download/v1.1.0/BreezeX-RosePine-Linux.tar.xz" "sha256-t5xwAPGhuQUfGThedLsmtZEEp1Ljjo3Udhd5Ql3O67c=" "BreezX-RosePine-Linux"; +} diff --git a/modules/home/default.nix b/modules/home/default.nix index 18dace1..a9101a4 100644 --- a/modules/home/default.nix +++ b/modules/home/default.nix @@ -3,6 +3,7 @@ ./art ./browser ./chat + ./cursor ./discord ./direnv ./editor