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,12 +5,14 @@ let
cfg = config.samba; cfg = config.samba;
in in
{ {
options.samba = { options = {
samba = {
dir = mkOption { dir = mkOption {
type = types.str; type = types.str;
default = "/srv/Multimedia"; default = "/srv/Multimedia";
}; };
}; };
};
config = { config = {
services.samba = { services.samba = {

View file

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