26 lines
600 B
Nix
26 lines
600 B
Nix
{ pkgs, inputs, ... }:
|
|
|
|
let
|
|
quickshellPkg = if (inputs ? quickshell && inputs.quickshell ? packages && inputs.quickshell.packages ? ${pkgs.stdenv.hostPlatform.system})
|
|
then inputs.quickshell.packages.${pkgs.stdenv.hostPlatform.system}.default
|
|
else (pkgs.quickshell or pkgs.qt6.qtbase);
|
|
in
|
|
{
|
|
home.packages = with pkgs; [
|
|
quickshellPkg
|
|
brightnessctl
|
|
pamixer
|
|
playerctl
|
|
libnotify
|
|
grim
|
|
slurp
|
|
wl-clipboard
|
|
];
|
|
|
|
# Link Quickshell configuration into ~/.config/quickshell
|
|
xdg.configFile."quickshell" = {
|
|
source = ./quickshell;
|
|
recursive = true;
|
|
};
|
|
}
|