nichts/modules/styling/quickshell/default.nix

28 lines
667 B
Nix
Raw Normal View History

2024-07-10 22:10:54 +02:00
{
config,
lib,
2024-07-21 21:58:18 +02:00
#system,
2024-07-10 22:10:54 +02:00
inputs,
pkgs,
...
}: 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
2024-07-21 21:58:18 +02:00
#quickshell.packages.${system}.default
2024-07-10 22:10:54 +02:00
pamtester
];
home-manager.users.${username}.xdg.configFile."quickshell/manifest.conf".text = toKeyValue {} {
bar = "${./bar}";
};
};
}