mirror of
https://codeberg.org/muon/home.git
synced 2025-12-06 08:07:45 +00:00
Add astral
This commit is contained in:
parent
c93f124c6f
commit
22390d5456
11 changed files with 188 additions and 12 deletions
16
modules/nixos/server/gaming/default.nix
Normal file
16
modules/nixos/server/gaming/default.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{ pkgs, lib, config, ... }: {
|
||||
options.mods.server.gaming = {
|
||||
enable = lib.mkEnableOption {
|
||||
default = false;
|
||||
description = "enables gaming servers";
|
||||
};
|
||||
};
|
||||
|
||||
imports = [
|
||||
./astral.nix
|
||||
];
|
||||
|
||||
config = lib.mkIf config.mods.server.gaming.enable {
|
||||
mods.server.astral.enable = true;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue