From 5e13aac4cdfdd4666eec30f83ca3cf5cb1e9938f Mon Sep 17 00:00:00 2001 From: harry Date: Mon, 15 Jul 2024 16:55:05 +0200 Subject: [PATCH] fixed bad nesting --- features/containers.nix | 4 ++-- features/samba-shares.nix | 10 ++++++---- features/transmission.nix | 10 ++++++---- 3 files changed, 14 insertions(+), 10 deletions(-) diff --git a/features/containers.nix b/features/containers.nix index ccf02f7..a6dfb0a 100644 --- a/features/containers.nix +++ b/features/containers.nix @@ -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"; }; diff --git a/features/samba-shares.nix b/features/samba-shares.nix index 0cf19ec..33c0008 100644 --- a/features/samba-shares.nix +++ b/features/samba-shares.nix @@ -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 = { diff --git a/features/transmission.nix b/features/transmission.nix index ee82668..327570e 100644 --- a/features/transmission.nix +++ b/features/transmission.nix @@ -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"; + }; }; };