custom certificates + ssl module to deploy it. headscale module using self-signed certificate. sops-nix secrets to deploy certificate keys. random file are also sorted.
This commit is contained in:
parent
081d1fa6e1
commit
5824942904
17 changed files with 171 additions and 54 deletions
17
modules/nix.nix
Normal file
17
modules/nix.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
nix.gc = {
|
||||
automatic = false;
|
||||
dates = "weekly";
|
||||
options = "--delete-older-than 30d";
|
||||
};
|
||||
|
||||
nix.settings.substituters = [
|
||||
"https://attic.xuyh0120.win/lantian"
|
||||
"https://nix-community.cachix.org"
|
||||
"https://cache.nixos.org/"
|
||||
];
|
||||
nix.settings.trusted-public-keys = [
|
||||
"lantian:EeAUQ+W+6r7EtwnmYjeVwx5kOGEBpjlBfPlzGlTNvHc="
|
||||
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue