niksos/modules/gui/quickshell/default.nix

29 lines
703 B
Nix

{
config,
inputs,
lib,
pkgs,
...
}: with lib; let
cfg = config.myOptions.programs.quickshell;
inherit (config.myOptions.other.system) username;
in {
options.myOptions.programs.quickshell = {
enable = mkEnableOption "quickshell";
};
config = mkIf cfg.enable {
home-manager.users.${username} = {
home.packages = with pkgs; [
inputs.quickshell.packages.${pkgs.system}.default
# for da poz
qt6.qtsvg
];
xdg.configFile."quickshell/manifest.conf".text = ''
powermenu = ${./powermenu}
poz = ${./poz}
'';
};
};
}