Added Hypridle and Hyprlock && switched to UWSM

This commit is contained in:
2025-11-27 15:23:59 -05:00
parent 1f1bd53be9
commit 96fdf27a60
11 changed files with 205 additions and 5 deletions

View File

@@ -1,4 +1,5 @@
{
# inputs,
pkgs,
config,
...
@@ -8,8 +9,12 @@
hyprpolkitagent
];
xdg.configFile."uwsm/env".source =
"${config.home.sessionVariablesPackage}/etc/profile.d/hm-session-vars.sh";
wayland.windowManager.hyprland = {
enable = true;
systemd.enable = false;
package = null;
portalPackage = null;
@@ -48,14 +53,18 @@
];
exec-once = [
"systemctl --user enable --now hypridle.service"
"systemctl --user enable --now hyprpolkitagent.service"
"systemctl --user enable app-com.mitchellh.ghostty.service"
"wpaperd -d"
"systemctl enable --user app-com.mitchellh.ghostty.service"
];
env = [
"NIXOS_OZONE_WL, 1"
"HYPRSHOT_DIR, ${config.xdg.userDirs.extraConfig.XDG_SCREENSHOTS_DIR}"
"XDG_CURRENT_DESKTOP, Hyprland"
"XDG_SESSION_TYPE, wayland"
"XDG_SESSION_DESKTOP, Hyprland"
];
};
};