fixed bad nesting

This commit is contained in:
Harry 2024-07-15 16:55:05 +02:00
parent 8d45b9fe71
commit 5e13aac4cd
3 changed files with 14 additions and 10 deletions

View file

@ -5,8 +5,8 @@ let
cfg = config.containers;
in
{
options.containers = {
minecraft.path = mkOption {
options = {
containers.minecraft.path = mkOption {
type = types.str;
default = "/srv/Minecraft";
};

View file

@ -5,10 +5,12 @@ let
cfg = config.samba;
in
{
options.samba = {
dir = mkOption {
type = types.str;
default = "/srv/Multimedia";
options = {
samba = {
dir = mkOption {
type = types.str;
default = "/srv/Multimedia";
};
};
};
config = {

View file

@ -5,10 +5,12 @@ let
cfg = config.transmission;
in
{
options.transmission = {
directory = mkOption {
type = lib.types.str;
default = "/srv/Multimedia";
options = {
transmission = {
directory = mkOption {
type = lib.types.str;
default = "/srv/Multimedia";
};
};
};