From e737982573b2ab1f46b1033ba14b92097dfd38c0 Mon Sep 17 00:00:00 2001 From: inexcode Date: Sat, 20 Aug 2022 19:01:19 +0400 Subject: [PATCH] Add location defenitions to variables module --- variables-module.nix | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/variables-module.nix b/variables-module.nix index 0a41a39..4e31e76 100644 --- a/variables-module.nix +++ b/variables-module.nix @@ -99,24 +99,40 @@ in default = false; type = types.nullOr types.bool; }; + location = mkOption { + default = "sda1"; + type = types.nullOr types.str; + }; }; gitea = { enable = mkOption { default = false; type = types.nullOr types.bool; }; + location = mkOption { + default = "sda1"; + type = types.nullOr types.str; + }; }; nextcloud = { enable = mkOption { default = true; type = types.nullOr types.bool; }; + location = mkOption { + default = "sda1"; + type = types.nullOr types.str; + }; }; pleroma = { enable = mkOption { default = false; type = types.nullOr types.bool; }; + location = mkOption { + default = "sda1"; + type = types.nullOr types.str; + }; }; jitsi = { enable = mkOption { @@ -173,5 +189,9 @@ in type = types.nullOr (types.listOf (types.attrsOf types.anything)); default = [ ]; }; + useBinds = mkOption { + type = types.nullOr types.bool; + default = false; + }; }; }