update hm module

This commit is contained in:
2026-03-07 10:55:33 -06:00
parent 8fd87dad5a
commit ff97c41b02

View File

@@ -14,18 +14,29 @@
example = "aurora.packages.hybar"; example = "aurora.packages.hybar";
}; };
systemd = {
enable = mkEnableOption "aurora systemd unit";
target = mkOption {
type = types.str;
default = "hyprland-session.target";
};
};
}; };
config = lib.mkIf config.programs.aurora.enable { config = {
programs.quickshell = { programs.quickshell = let
enable = true; cfg = config.programs.aurora;
in {
enable = cfg.enable;
package = config.programs.aurora.package; package = cfg.package;
systemd = { systemd = {
enable = true; enable = cfg.systemd.enable;
target = "wayland-session@Hyprland.target"; target = cfg.systemd.target;
}; };
}; };
}; };