format everything
This commit is contained in:
parent
9c28397d38
commit
b54f3d54f1
37 changed files with 1185 additions and 1173 deletions
|
|
@ -1,18 +1,18 @@
|
|||
{ lib, config, pkgs, ... }:
|
||||
let
|
||||
cfg = config.modules.games;
|
||||
cfg = config.modules.games;
|
||||
in
|
||||
{
|
||||
options.modules.games = {
|
||||
enable = lib.mkEnableOption "enable gaming services";
|
||||
minecraft.enable = lib.mkEnableOption "enable minecraft";
|
||||
};
|
||||
options.modules.games = {
|
||||
enable = lib.mkEnableOption "enable gaming services";
|
||||
minecraft.enable = lib.mkEnableOption "enable minecraft";
|
||||
};
|
||||
|
||||
imports = [
|
||||
./minecraft.nix
|
||||
];
|
||||
imports = [
|
||||
./minecraft.nix
|
||||
];
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
modules.games.minecraft.enable = true;
|
||||
};
|
||||
config = lib.mkIf cfg.enable {
|
||||
modules.games.minecraft.enable = true;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue