quickshell/module.nix: move from home.packges to environment.systemPackages

This commit is contained in:
Charlie Root 2024-11-01 20:55:02 +01:00
commit fb4ebc9f58
Signed by: faukah
SSH key fingerprint: SHA256:jpYIt4Vkz1NBTQcks/N9OPTfTFxE6KF2W/rV7hrfrIw

View file

@ -7,28 +7,20 @@
}: let
inherit (inputs) quickshell;
inherit (lib.generators) toKeyValue;
inherit (config.meta.mainUser) username;
in {
home-manager.users.${username} = {
home.packages = with pkgs; [
qt6.qtimageformats # amog
qt6.qt5compat # shader fx
(quickshell.packages.x86_64-linux.default.override {
withJemalloc = true;
withQtSvg = true;
withX11 = true;
withPipewire = true;
withPam = true;
withHyprland = true;
})
pamtester # lockscreen
grim
imagemagick # screenshot
];
# xdg.configFile."quickshell/manifest.conf".text = toKeyValue {} {
# shell = "${./shell}";
# # lockscreen = "${./lockscreen}";
# };
};
environment.systemPackages = with pkgs; [
qt6.qtimageformats # amog
qt6.qt5compat # shader fx
(quickshell.packages.x86_64-linux.default.override {
withJemalloc = true;
withQtSvg = true;
withX11 = true;
withPipewire = true;
withPam = true;
withHyprland = true;
})
pamtester # lockscreen
grim
imagemagick # screenshot
];
}