Add all of iogamaster modules
This commit is contained in:
21
modules/nixos/suites/server/default.nix
Normal file
21
modules/nixos/suites/server/default.nix
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
options,
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
with lib.frajul; let
|
||||
cfg = config.suites.server;
|
||||
in {
|
||||
options.suites.server = with types; {
|
||||
enable = mkBoolOpt false "Enable the server suite";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
suites.common.enable = true;
|
||||
suites.development.enable = true;
|
||||
environment.systemPackages = with pkgs; [];
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user