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 = {
|
networking = {
|
||||||
firewall.extraInputRules = ''
|
firewall.extraInputRules = ''
|
||||||
|
|
|
@ -4,9 +4,9 @@
|
||||||
./accounts
|
./accounts
|
||||||
./devices
|
./devices
|
||||||
./programs
|
./programs
|
||||||
|
./secrets
|
||||||
./services
|
./services
|
||||||
./settings
|
./settings
|
||||||
./variables
|
|
||||||
];
|
];
|
||||||
|
|
||||||
options.system = with lib; {
|
options.system = with lib; {
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
{ config, ... }:
|
{ config, ... }:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
|
./ips
|
||||||
./wireless
|
./wireless
|
||||||
./wireguard
|
./wireguard
|
||||||
];
|
];
|
||||||
|
|
|
@ -6,9 +6,9 @@
|
||||||
|
|
||||||
config.ips = rec {
|
config.ips = rec {
|
||||||
localSpan = "10.1.0";
|
localSpan = "10.1.0";
|
||||||
server = "${localSpan}.2";
|
server = "10.1.0.2";
|
||||||
pc = "${localSpan}.4";
|
pc = "10.1.0.4";
|
||||||
vm = "${localSpan}.5";
|
vm = "10.1.0.5";
|
||||||
hx = "${localSpan}.70";
|
hx = "10.1.0.70";
|
||||||
};
|
};
|
||||||
}
|
}
|
|
@ -1,7 +0,0 @@
|
||||||
{ ... }:
|
|
||||||
{
|
|
||||||
imports = [
|
|
||||||
./ips
|
|
||||||
./secrets
|
|
||||||
];
|
|
||||||
}
|
|
Loading…
Add table
Reference in a new issue