From 4fcf563b4b85c81b2a593d57d6ea7987126ba62c Mon Sep 17 00:00:00 2001 From: Ahwx Date: Sat, 22 Mar 2025 22:45:36 +0100 Subject: [PATCH] feat: adds system-wide variables --- variables.nix | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 variables.nix diff --git a/variables.nix b/variables.nix new file mode 100644 index 0000000..3727a99 --- /dev/null +++ b/variables.nix @@ -0,0 +1,17 @@ +{ + lib, + config, + ... +}: let + inherit (lib) mkOption types; + inherit (config.liv) variables; +in { + options.liv.variables = { + primaryDomain = mkOption { + default = "liv.town"; + type = types.str; + readOnly = true; + description = "My primary domain"; + }; + }; +}