refactor: move hyprland cursor theme to home-manager

This commit is contained in:
Kiana Sheibani 2026-01-28 21:41:12 -05:00
parent 49088f3cbe
commit aadc482c2f
Signed by: toki
GPG key ID: 6CB106C25E86A9F7
2 changed files with 17 additions and 14 deletions

View file

@ -1,14 +1,5 @@
{ pkgs, lib, macos-hyprcursor-src, ... }:
let
macos-hyprcursor = pkgs.stdenv.mkDerivation {
name = "macos-hyprcursor";
src = macos-hyprcursor-src;
installPhase = ''
mkdir -p $out/share/icons
cp -R themes/SVG/"macOS (SVG)" $out/share/icons/macos
'';
};
in {
{ pkgs, lib, ... }:
{
environment.systemPackages = with pkgs;
let aspell' = aspellWithDicts.override {
aspell = aspell.overrideAttrs (super: {
@ -38,7 +29,6 @@ in {
playerctl
pamixer
ffmpeg
macos-hyprcursor
# System management
htop-vim

View file

@ -1,8 +1,21 @@
{ pkgs, lib, ... }:
{ pkgs, lib, macos-hyprcursor-src, ... }:
let
scripts = ./scripts;
shell = "quickshell";
# Cursor Theme
macos-hyprcursor = pkgs.stdenv.mkDerivation {
name = "macos-hyprcursor";
src = macos-hyprcursor-src;
installPhase = ''
mkdir -p $out/share/icons
cp -R themes/SVG/"macOS (SVG)" $out/share/icons/macos
'';
};
in {
home.packages = [ macos-hyprcursor ];
wayland.windowManager.hyprland = {
enable = true;
systemd.enable = true;
@ -16,7 +29,7 @@ in {
env = [
"HYPRCURSOR_THEME,macos"
"HYPRCURSOR_SIZE,12"
"HYPRCURSOR_SIZE,24"
];
general = {