nichts/modules/style/quickshell/default.nix

29 lines
714 B
Nix
Raw Normal View History

2024-07-10 22:10:54 +02:00
{
config,
lib,
inputs,
pkgs,
2024-08-09 11:54:07 +02:00
impurity,
2024-07-10 22:10:54 +02:00
...
}: let
inherit (inputs) quickshell;
inherit (lib) mkIf mkEnableOption;
inherit (lib.generators) toKeyValue;
inherit (config.modules.other.system) username;
cfg = config.modules.theming.quickshell;
in {
options.modules.theming.quickshell.enable = mkEnableOption "quickshell";
config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [
qt6.qtimageformats
qt6.qt5compat
quickshell.packages."x86_64-linux".default
2024-07-10 22:10:54 +02:00
pamtester
];
home-manager.users.${username}.xdg.configFile."quickshell/manifest.conf".text = toKeyValue {} {
2024-08-09 13:56:25 +02:00
# bar = "${impurity.link ./bar}";
2024-08-09 11:54:07 +02:00
# bar = "${./bar}";
2024-07-10 22:10:54 +02:00
};
};
}