quickshell!
This commit is contained in:
parent
ff0fa258e4
commit
613ced37f5
17 changed files with 251 additions and 47 deletions
27
modules/styling/quickshell/default.nix
Normal file
27
modules/styling/quickshell/default.nix
Normal file
|
@ -0,0 +1,27 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
system,
|
||||
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
|
||||
quickshell.packages.${system}.default
|
||||
pamtester
|
||||
];
|
||||
home-manager.users.${username}.xdg.configFile."quickshell/manifest.conf".text = toKeyValue {} {
|
||||
bar = "${./bar}";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue