Simplify home profile activation by folding it into the tags logic

This commit is contained in:
Bun 2025-06-30 11:04:46 -04:00
parent b3ba7481d8
commit 3398c611b7
27 changed files with 74 additions and 216 deletions

View file

@ -1,7 +1,5 @@
{ lib, ... }:
{
imports = [ ./guifull ];
options.home = with lib; {
desktop.enable = mkEnableOption "Desktop programs and services";
gaming.enable = mkEnableOption "Gaming apps and programs";

View file

@ -1,12 +0,0 @@
{ config, lib, ... }:
{
options.home = with lib; {
guifull.enable = mkEnableOption "Enable most other GUI profiles";
};
config.home = lib.mkIf config.home.guifull.enable {
desktop.enable = true;
gaming.enable = true;
production.enable = true;
};
}