nichts/modules/style/quickshell/module.nix

35 lines
769 B
Nix
Raw Normal View History

2024-10-09 22:49:23 +02:00
{
config,
lib,
2024-11-01 14:51:13 +01:00
inputs,
2024-10-09 22:49:23 +02:00
pkgs,
...
}: let
2024-11-01 14:51:13 +01:00
inherit (inputs) quickshell;
2024-10-09 22:49:23 +02:00
inherit (lib.generators) toKeyValue;
inherit (config.meta.mainUser) username;
2024-10-09 22:49:23 +02:00
in {
home-manager.users.${username} = {
home.packages = with pkgs; [
qt6.qtimageformats # amog
qt6.qt5compat # shader fx
2024-11-01 14:51:13 +01:00
(quickshell.packages.x86_64-linux.default.override {
withJemalloc = true;
withQtSvg = true;
withX11 = true;
withPipewire = true;
withPam = true;
withHyprland = true;
})
pamtester # lockscreen
grim
imagemagick # screenshot
];
2024-10-09 22:49:23 +02:00
# xdg.configFile."quickshell/manifest.conf".text = toKeyValue {} {
# shell = "${./shell}";
# # lockscreen = "${./lockscreen}";
# };
2024-10-09 22:49:23 +02:00
};
}