Reduce redundancy in flake.nix, add new hm profile for desktops

This commit is contained in:
Bun 2025-05-11 00:01:07 -04:00
parent 20707d250e
commit 2d9dcf079a
7 changed files with 64 additions and 48 deletions

View file

@ -0,0 +1,18 @@
{ config, lib, ... }:
{
options.home = with lib; {
guifull.enable = mkEnableOption "Enable most other GUI profiles";
desktop.enable = mkEnableOption "Desktop programs and services";
gaming.enable = mkEnableOption "Gaming apps and programs";
production.enable = mkEnableOption "Apps for visual productivity";
school.enable = mkEnableOption "Apps for school and college";
};
config.home = lib.mkIf config.home.guifull.enable {
desktop.enable = true;
gaming.enable = true;
production.enable = true;
};
}