Move around secrets and variables and the like
This commit is contained in:
parent
a05718f708
commit
8a617299fe
7 changed files with 8 additions and 14 deletions
2
.gitattributes
vendored
2
.gitattributes
vendored
|
@ -1 +1 @@
|
|||
modules/system/variables/secrets/** filter=git-crypt diff=git-crypt
|
||||
modules/system/secrets/** filter=git-crypt diff=git-crypt
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ config, lib, ... }:
|
||||
{ lib, config, ... }:
|
||||
{
|
||||
networking = {
|
||||
firewall.extraInputRules = ''
|
||||
|
|
|
@ -4,9 +4,9 @@
|
|||
./accounts
|
||||
./devices
|
||||
./programs
|
||||
./secrets
|
||||
./services
|
||||
./settings
|
||||
./variables
|
||||
];
|
||||
|
||||
options.system = with lib; {
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
{ config, ... }:
|
||||
{
|
||||
imports = [
|
||||
./ips
|
||||
./wireless
|
||||
./wireguard
|
||||
];
|
||||
|
|
|
@ -6,9 +6,9 @@
|
|||
|
||||
config.ips = rec {
|
||||
localSpan = "10.1.0";
|
||||
server = "${localSpan}.2";
|
||||
pc = "${localSpan}.4";
|
||||
vm = "${localSpan}.5";
|
||||
hx = "${localSpan}.70";
|
||||
server = "10.1.0.2";
|
||||
pc = "10.1.0.4";
|
||||
vm = "10.1.0.5";
|
||||
hx = "10.1.0.70";
|
||||
};
|
||||
}
|
|
@ -1,7 +0,0 @@
|
|||
{ ... }:
|
||||
{
|
||||
imports = [
|
||||
./ips
|
||||
./secrets
|
||||
];
|
||||
}
|
Loading…
Add table
Reference in a new issue