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; cfg = config.containers;
in in
{ {
options.containers = { options = {
minecraft.path = mkOption { containers.minecraft.path = mkOption {
type = types.str; type = types.str;
default = "/srv/Minecraft"; default = "/srv/Minecraft";
}; };

View file

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

View file

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