mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-01-18 13:29:32 +01:00
fixed bad nesting
This commit is contained in:
parent
8d45b9fe71
commit
5e13aac4cd
|
@ -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";
|
||||
};
|
||||
|
|
|
@ -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 = {
|
||||
|
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue