From f5b78ff561eff75c803ed1ef6e736a6c991cd135 Mon Sep 17 00:00:00 2001 From: brustybee Date: Sun, 5 Apr 2026 23:32:45 +0530 Subject: idk - add miku cursor - nightlight support on xorg - bring back st and xorg tools back in this repo - add themed_cursor patch st ( kinda manully ) --- users/common.nix | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) (limited to 'users/common.nix') diff --git a/users/common.nix b/users/common.nix index a3cda21..2390e7f 100644 --- a/users/common.nix +++ b/users/common.nix @@ -3,6 +3,23 @@ config, ... }: +let + mikuCursor = pkgs.stdenv.mkDerivation { + pname = "miku-cursor"; + version = "1.0"; + src = pkgs.fetchgit { + url = "https://github.com/supermariofps/hatsune-miku-windows-linux-cursors.git"; + rev = "471ff88"; + hash = "sha256-HCHo4GwWLvjjnKWNiHb156Z+NQqliqLX1T1qNxMEMfE="; + }; + unpackPhase = "true"; + + installPhase = '' + mkdir -p $out/share/icons + cp -r $src/miku-cursor-linux $out/share/icons/miku-cursor + ''; + }; +in { programs.git = { enable = true; @@ -21,15 +38,15 @@ }; home.pointerCursor = { - size = 16; + size = 36; enable = true; x11.enable = true; gtk.enable = true; hyprcursor.size = 16; dotIcons.enable = true; hyprcursor.enable = true; - name = "material_light_cursors"; - package = pkgs.material-cursors; + name = "miku-cursor"; + package = mikuCursor; }; dconf.settings = { -- cgit v1.3.1