niksos/modules/gui/quickshell/default.nix
jacekpoz 9485a730fe
add the poz
this is the greatest commit of all time
2024-04-15 00:46:33 +02:00

31 lines
898 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 = ''
# https://git.outfoxxed.me/outfoxxed/quickshell-examples/src/branch/master/wlogout
powermenu = ${./powermenu}
# not available anywhere else publicly I don't think but the author is also fox
poz = ${./poz}
'';
};
};
}