diff --git a/config/packages.nix b/config/packages.nix index 9f63e06..4b8f079 100644 --- a/config/packages.nix +++ b/config/packages.nix @@ -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 diff --git a/home-manager/wayland/hyprland.nix b/home-manager/wayland/hyprland.nix index 72f2bdc..e081f48 100644 --- a/home-manager/wayland/hyprland.nix +++ b/home-manager/wayland/hyprland.nix @@ -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 = {