prgrammatically enable sioyek, vesktop, claude, etc.

This commit is contained in:
Barrett Ruth 2026-02-11 18:03:20 -05:00
parent 43f68c58a2
commit 9aac8350a5
Signed by: barrett
GPG key ID: A6C96C9349D2FC81
8 changed files with 198 additions and 223 deletions

View file

@ -26,8 +26,64 @@ in
'';
};
home.packages = lib.mkIf isNixOS [ pkgs.xdg-desktop-portal-gtk ];
home.packages =
lib.optionals isNixOS [
pkgs.xdg-desktop-portal-gtk
pkgs.hyprpaper
]
++ [
pkgs.hyprlock
pkgs.hypridle
];
xdg.configFile."hypr/themes/midnight.conf".text = mkHyprTheme config.palettes.midnight;
xdg.configFile."hypr/themes/daylight.conf".text = mkHyprTheme config.palettes.daylight;
xdg.configFile."hypr/hyprpaper.conf".text = ''
wallpaper {
monitor =
path = ${config.home.homeDirectory}/img/screen/wallpaper.jpg
}
splash = false
'';
xdg.configFile."hypr/hyprlock.conf".text = ''
general {
hide_cursor = true
grace = 0
}
background {
monitor =
path = ${config.home.homeDirectory}/img/screen/lock.jpg
}
animations {
enabled = false
}
'';
xdg.configFile."hypr/hypridle.conf".text = ''
general {
lock_cmd = wp lock && hyprlock
after_sleep_cmd = hyprctl dispatch dpms on
}
listener {
timeout = 300
on-timeout = wp lock && hyprlock
}
listener {
timeout = 600
on-timeout = hyprctl dispatch dpms off
on-resume = hyprctl dispatch dpms on
}
listener {
timeout = 1800
on-timeout = systemctl suspend
}
'';
}