feat: adds system-wide variables

This commit is contained in:
Ahwx 2025-03-22 22:45:36 +01:00
parent d52c3c9da2
commit 4fcf563b4b

17
variables.nix Normal file
View file

@ -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";
};
};
}