From a7f869923fec7058f1c6c00513cb066b17093b31 Mon Sep 17 00:00:00 2001 From: eyjhb Date: Sun, 11 Aug 2024 14:21:17 +0200 Subject: [PATCH] modules.settings: add mine.settings to pass data around --- shared/modules/default.nix | 2 ++ shared/modules/settings.nix | 8 ++++++++ 2 files changed, 10 insertions(+) create mode 100644 shared/modules/settings.nix diff --git a/shared/modules/default.nix b/shared/modules/default.nix index bff5d26..879c16c 100644 --- a/shared/modules/default.nix +++ b/shared/modules/default.nix @@ -1,5 +1,7 @@ { imports = [ + ./settings.nix + ./zrepl.nix ./disko.nix ./state.nix diff --git a/shared/modules/settings.nix b/shared/modules/settings.nix new file mode 100644 index 0000000..3365fdc --- /dev/null +++ b/shared/modules/settings.nix @@ -0,0 +1,8 @@ +{ lib, ... }: + +{ + options.mine.settings = lib.mkOption { + type = lib.types.attrsOf lib.types.anything; + default = {}; + }; +}