Devariable domains
This commit is contained in:
parent
2c4749f2cc
commit
984b12819e
55 changed files with 152 additions and 179 deletions
7
modules/system/variables/default.nix
Normal file
7
modules/system/variables/default.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{ ... }:
|
||||
{
|
||||
imports = [
|
||||
./ips
|
||||
./secrets
|
||||
];
|
||||
}
|
15
modules/system/variables/ips/default.nix
Normal file
15
modules/system/variables/ips/default.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{ config, lib, ... }:
|
||||
{
|
||||
options.ips = lib.mkOption {
|
||||
type = lib.types.attrs;
|
||||
default = {};
|
||||
};
|
||||
|
||||
config.ips = rec {
|
||||
localSpan = "10.1.0";
|
||||
server = "${localSpan}.2";
|
||||
pc = "${localSpan}.4";
|
||||
vm = "${localSpan}.5";
|
||||
hx = "${localSpan}.70";
|
||||
};
|
||||
}
|
BIN
modules/system/variables/secrets/default.nix
Normal file
BIN
modules/system/variables/secrets/default.nix
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue