merged modularity from main branch

This commit is contained in:
Bryan Ramos 2024-02-28 21:08:14 -05:00
commit b126c84401
Signed by: bryan
GPG key ID: 6ABDCD144D6643C8
20 changed files with 70 additions and 78 deletions

View file

@ -1,15 +1,3 @@
{ 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;
};
};
}