nixnew/modules/user/modules/quickshell/default.nix

24 lines
827 B
Nix

{ config, inputs, pkgs, lib, system, impurity, ... }: let
inherit (inputs) quickshell;
# hack because the greeter user cant access /home/admin
maybeLink = path: if config.home.username == "admin" then impurity.link path else path;
in {
home.packages = with pkgs; [
qt6.qtimageformats # amog
qt6.qt5compat # shader fx
qt6.qtmultimedia # flicko shell
qt6.qtdeclarative # qtdecl types in path
(quickshell.packages.${system}.default.override (prevqs: {
debug = true;
/*qt6 = prevqs.qt6.overrideScope (_: prevqt: {
qtdeclarative = prevqt.qtdeclarative.overrideAttrs (prev: {
cmakeBuildType = "Debug";
dontStrip = true;
});
});*/
}))
grim imagemagick # screenshot
];
xdg.configFile."quickshell/shell".source = "${maybeLink ./.}/shell";
}