aaaaaaaaaaaaaaaaaaaaa
This commit is contained in:
parent
c81213a02b
commit
689a0cdfa8
3 changed files with 13 additions and 24 deletions
|
|
@ -2,17 +2,13 @@
|
|||
|
||||
let
|
||||
cfg = config.modules.graphical;
|
||||
quickshell-packages = lib.mkIf cfg.quickshell (with pkgs; [quickshell]);
|
||||
in
|
||||
|
||||
{
|
||||
options = {
|
||||
modules.graphical = {
|
||||
enable = lib.mkEnableOption "Enable the GUI";
|
||||
|
||||
waybar = lib.mkEnableOption "Enable waybar";
|
||||
|
||||
quickshell = lib.mkEnableOption "Enable quickshell";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
@ -23,9 +19,8 @@ in
|
|||
environment.systemPackages = with pkgs; [
|
||||
alacritty
|
||||
wl-clipboard
|
||||
|
||||
quickshell
|
||||
]
|
||||
++ quickshell-packages;
|
||||
|
||||
programs.waybar.enable = lib.mkIf cfg.waybar true;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue