mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 23:00:14 +01:00
feat: adds lily to hosts
This commit is contained in:
parent
a371faa29c
commit
966ed75d85
2 changed files with 60 additions and 0 deletions
19
hosts/lily/variables.nix
Normal file
19
hosts/lily/variables.nix
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
let
|
||||
inherit (lib) mkOption types;
|
||||
inherit (config.liv) variables;
|
||||
in
|
||||
{
|
||||
options.liv.variables.lily = {
|
||||
thisMachine = mkOption {
|
||||
default = "lily.srv.${variables.primaryDomain}";
|
||||
type = types.str;
|
||||
readOnly = true;
|
||||
description = "Domain of this specific machine";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue