2024-04-13 22:19:45 +02:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
inputs,
|
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}: with lib; let
|
|
|
|
cfg = config.myOptions.programs.quickshell;
|
2024-04-14 18:49:29 +02:00
|
|
|
inherit (config.myOptions.other.system) username;
|
2024-04-13 22:19:45 +02:00
|
|
|
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
|
|
|
|
];
|
2024-04-15 00:31:19 +02:00
|
|
|
|
|
|
|
xdg.configFile."quickshell/manifest.conf".text = ''
|
|
|
|
powermenu = ${./powermenu}
|
2024-04-15 00:46:33 +02:00
|
|
|
poz = ${./poz}
|
2024-04-15 00:31:19 +02:00
|
|
|
'';
|
2024-04-13 22:19:45 +02:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|