From fb4ebc9f580950fc3248b8d5e0d52cf8752059c5 Mon Sep 17 00:00:00 2001 From: Charlie Root Date: Fri, 1 Nov 2024 20:55:02 +0100 Subject: [PATCH] quickshell/module.nix: move from home.packges to environment.systemPackages --- modules/style/quickshell/module.nix | 38 ++++++++++++----------------- 1 file changed, 15 insertions(+), 23 deletions(-) diff --git a/modules/style/quickshell/module.nix b/modules/style/quickshell/module.nix index 0910c21..569d0b0 100644 --- a/modules/style/quickshell/module.nix +++ b/modules/style/quickshell/module.nix @@ -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 + ]; }