refactor: add encrypted private.nix to hold private values
This commit is contained in:
parent
80b7bf0ed4
commit
585ff678b8
1
.gitattributes
vendored
Normal file
1
.gitattributes
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
private.nix filter=crypt diff=crypt merge=crypt
|
@ -177,6 +177,7 @@
|
|||||||
fd
|
fd
|
||||||
helix
|
helix
|
||||||
micro
|
micro
|
||||||
|
openssl
|
||||||
ripgrep
|
ripgrep
|
||||||
starship
|
starship
|
||||||
tealdeer
|
tealdeer
|
||||||
|
@ -72,10 +72,12 @@ in
|
|||||||
lsof
|
lsof
|
||||||
micro
|
micro
|
||||||
mpv
|
mpv
|
||||||
|
openssl
|
||||||
ripgrep
|
ripgrep
|
||||||
rustscan
|
rustscan
|
||||||
starship
|
starship
|
||||||
tealdeer
|
tealdeer
|
||||||
|
transcrypt
|
||||||
waypipe
|
waypipe
|
||||||
whois
|
whois
|
||||||
];
|
];
|
||||||
|
2
hosts/router/private.nix
Normal file
2
hosts/router/private.nix
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
U2FsdGVkX1/98w32OE1ppwT0I5A3UOTKCLJfvk+TQdrbf0TLfYNZ9TC9n8cH2hC9
|
||||||
|
ObKVuFlOLwHlzeBy7MXaLg==
|
@ -1,4 +1,6 @@
|
|||||||
let
|
let
|
||||||
|
private = import ./private.nix;
|
||||||
|
|
||||||
mkIfConfig = {
|
mkIfConfig = {
|
||||||
name_,
|
name_,
|
||||||
domain_,
|
domain_,
|
||||||
@ -43,7 +45,7 @@ rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
p4 = "10.17"; # .0.0/16
|
p4 = "10.17"; # .0.0/16
|
||||||
pdFromWan = ""; # ::/60
|
pdFromWan = private.pdFromWan; # ::/60
|
||||||
ulaPrefix = "fdab:07d3:581d"; # ::/48
|
ulaPrefix = "fdab:07d3:581d"; # ::/48
|
||||||
ifs = rec {
|
ifs = rec {
|
||||||
wan = rec {
|
wan = rec {
|
||||||
|
@ -95,9 +95,11 @@
|
|||||||
ldns
|
ldns
|
||||||
micro
|
micro
|
||||||
mpv
|
mpv
|
||||||
|
openssl
|
||||||
ripgrep
|
ripgrep
|
||||||
starship
|
starship
|
||||||
tealdeer
|
tealdeer
|
||||||
|
transcrypt
|
||||||
waypipe
|
waypipe
|
||||||
whois
|
whois
|
||||||
zfs
|
zfs
|
||||||
|
Loading…
x
Reference in New Issue
Block a user