remodel begin
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{ config, lib, pkgs, inputs, ... }: {
|
||||
|
||||
options.sysconfig.opts.minecraft.enable = lib.options.mkOption {
|
||||
options.sysconfig.services.minecraft.enable = lib.options.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
};
|
||||
@@ -9,7 +9,7 @@
|
||||
inputs.nix-minecraft.nixosModules.minecraft-servers
|
||||
];
|
||||
|
||||
config = lib.mkIf config.sysconfig.opts.minecraft.enable {
|
||||
config = lib.mkIf config.sysconfig.services.minecraft.enable {
|
||||
|
||||
nixpkgs.overlays = [ inputs.nix-minecraft.overlay ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user