mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-23 16:29:42 -04:00
wm.sway module
This commit is contained in:
parent
35cf3c5d4a
commit
00b46789d6
17 changed files with 34 additions and 29 deletions
|
|
@ -3,7 +3,11 @@
|
|||
with lib;
|
||||
let
|
||||
cfg = config.modules.user.bash;
|
||||
gui = config.modules.user.gui.sway;
|
||||
gui = config.modules.user.gui.wm;
|
||||
|
||||
wm = {
|
||||
enable = builtins.any (mod: mod.enable or false) (builtins.attrValues gui);
|
||||
};
|
||||
|
||||
in
|
||||
{ options.modules.user.bash = { enable = mkEnableOption "user.bash"; };
|
||||
|
|
@ -22,7 +26,7 @@ in
|
|||
eza = {
|
||||
enable = true;
|
||||
enableAliases = true;
|
||||
} // optionalAttrs gui.enable {
|
||||
} // optionalAttrs wm.enable {
|
||||
icons = true;
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue