wip: more progress

This commit is contained in:
2025-12-24 21:38:01 +00:00
parent 90bb720391
commit ad66564dea
3 changed files with 6 additions and 5 deletions

View File

@@ -28,6 +28,7 @@ in
];
options.modules.Hyprland = {
enable = lib.mkEnableOption "Hyprland";
suspend-on-hibernate = lib.mkEnableOption "soh";
};
# TODO, split this into its own module;
config = lib.mkIf cfg.enable {
@@ -59,7 +60,7 @@ in
};
};
};
systemd.user.services."hyprland_suspend" = {
systemd.user.services."hyprland_suspend" = lib.mkIf cfg.suspend-on-hibernate {
Unit = {
Description = "Suspend hyprland";
Before = [