refactor: move hyprland cursor theme to home-manager
This commit is contained in:
parent
49088f3cbe
commit
aadc482c2f
2 changed files with 17 additions and 14 deletions
|
|
@ -1,14 +1,5 @@
|
||||||
{ pkgs, lib, macos-hyprcursor-src, ... }:
|
{ pkgs, lib, ... }:
|
||||||
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 {
|
|
||||||
environment.systemPackages = with pkgs;
|
environment.systemPackages = with pkgs;
|
||||||
let aspell' = aspellWithDicts.override {
|
let aspell' = aspellWithDicts.override {
|
||||||
aspell = aspell.overrideAttrs (super: {
|
aspell = aspell.overrideAttrs (super: {
|
||||||
|
|
@ -38,7 +29,6 @@ in {
|
||||||
playerctl
|
playerctl
|
||||||
pamixer
|
pamixer
|
||||||
ffmpeg
|
ffmpeg
|
||||||
macos-hyprcursor
|
|
||||||
|
|
||||||
# System management
|
# System management
|
||||||
htop-vim
|
htop-vim
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,21 @@
|
||||||
{ pkgs, lib, ... }:
|
{ pkgs, lib, macos-hyprcursor-src, ... }:
|
||||||
let
|
let
|
||||||
scripts = ./scripts;
|
scripts = ./scripts;
|
||||||
shell = "quickshell";
|
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 {
|
in {
|
||||||
|
|
||||||
|
home.packages = [ macos-hyprcursor ];
|
||||||
|
|
||||||
wayland.windowManager.hyprland = {
|
wayland.windowManager.hyprland = {
|
||||||
enable = true;
|
enable = true;
|
||||||
systemd.enable = true;
|
systemd.enable = true;
|
||||||
|
|
@ -16,7 +29,7 @@ in {
|
||||||
|
|
||||||
env = [
|
env = [
|
||||||
"HYPRCURSOR_THEME,macos"
|
"HYPRCURSOR_THEME,macos"
|
||||||
"HYPRCURSOR_SIZE,12"
|
"HYPRCURSOR_SIZE,24"
|
||||||
];
|
];
|
||||||
|
|
||||||
general = {
|
general = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue