Renamed home to programs, moved definition to user level

This commit is contained in:
2025-09-22 23:35:57 +02:00
parent d3266d1c1d
commit 03aebab782
88 changed files with 236 additions and 731 deletions

View File

@@ -0,0 +1,35 @@
{ pkgs, ... }:
{
# Hyprland and related packages
home.packages = with pkgs; [
hypridle
];
# Hypridle configuration
services.hypridle = {
enable = true;
settings = {
general = {
after_sleep_cmd = "hyprctl dispatch dpms on";
ignore_dbus_inhibit = false;
lock_cmd = "hyprlock";
before_sleep_cmd = ''
notify-send -u critical "Hey master, Im getting sleepy Ill see you in my code dreams 💖" --icon
="$HOME/.config/hypr/avatar.png" --app-name="Hyprlock"'';
};
listener = [
{
timeout = 300;
on-timeout = "hyprlock";
}
{
timeout = 600;
on-timeout = "hyprctl dispatch dpms off";
on-resume = "hyprctl dispatch dpms on";
}
];
};
};
}