to be continued
This commit is contained in:
parent
030f251ce9
commit
fcaa48df90
8 changed files with 255 additions and 36 deletions
21
modules/nixos/archetypes/gaming/default.nix
Normal file
21
modules/nixos/archetypes/gaming/default.nix
Normal file
|
@ -0,0 +1,21 @@
|
|||
{ options, config, lib, pkgs, ... }:
|
||||
|
||||
with lib;
|
||||
with lib.wyrdgard;
|
||||
let
|
||||
cfg = config.wyrdgard.archetypes.gaming;
|
||||
in
|
||||
{
|
||||
options.wyrdgard.archetypes.gaming = with types; {
|
||||
enable = mkBoolOpt false "Whether or not to enable the gaming archetype.";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
wyrdgard.submodules = {
|
||||
basics = enabled;
|
||||
graphical-interface = enabled;
|
||||
games = enabled;
|
||||
socials = enabled;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue