Reduce redundancy in flake.nix, add new hm profile for desktops
This commit is contained in:
parent
20707d250e
commit
2d9dcf079a
7 changed files with 64 additions and 48 deletions
18
modules/home/profiles/default.nix
Normal file
18
modules/home/profiles/default.nix
Normal 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;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue