mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-24 08:39:42 -04:00
15 lines
253 B
Nix
15 lines
253 B
Nix
{ lib, config, ... }:
|
|
|
|
with lib;
|
|
let
|
|
cfg = config.modules.gui;
|
|
|
|
in
|
|
{ options.modules.gui = { enable = mkEnableOption "gui"; };
|
|
imports = [ ./desktopEnvironments ];
|
|
config = mkIf cfg.enable {
|
|
modules = {
|
|
sway.enable = true;
|
|
};
|
|
};
|
|
}
|