Files
Olympus/homes/nathan/home-manager/programs/quickshell/default.nix
2026-03-06 16:24:53 -06:00

30 lines
768 B
Nix

{ ... }: {
flake.homeModules.nathan = { config, lib, ... }: {
options.homeconfig.quickshell.enable = with lib; mkOption {
type = with types; bool;
default = false;
};
config = lib.mkIf config.homeconfig.quickshell.enable {
programs.quickshell = {
enable = true;
configs = {
default = config.homeDirectory + "/${config.home.file.".config/quickshell".target}";
};
systemd = {
enable = true;
target = lib.mkIf config.homeconfig.hyprland.enable "wayland-session@Hyprland.target";
};
activeConfig = "default";
};
};
};
}