update hm module
This commit is contained in:
@@ -14,18 +14,29 @@
|
||||
|
||||
example = "aurora.packages.hybar";
|
||||
};
|
||||
};
|
||||
|
||||
config = lib.mkIf config.programs.aurora.enable {
|
||||
|
||||
programs.quickshell = {
|
||||
enable = true;
|
||||
|
||||
package = config.programs.aurora.package;
|
||||
|
||||
systemd = {
|
||||
enable = true;
|
||||
target = "wayland-session@Hyprland.target";
|
||||
enable = mkEnableOption "aurora systemd unit";
|
||||
|
||||
target = mkOption {
|
||||
type = types.str;
|
||||
default = "hyprland-session.target";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
config = {
|
||||
|
||||
programs.quickshell = let
|
||||
cfg = config.programs.aurora;
|
||||
in {
|
||||
enable = cfg.enable;
|
||||
|
||||
package = cfg.package;
|
||||
|
||||
systemd = {
|
||||
enable = cfg.systemd.enable;
|
||||
target = cfg.systemd.target;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user