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:
boyreau 2026-08-08 19:30:07 +02:00
commit 5824942904
17 changed files with 171 additions and 54 deletions

17
modules/nix.nix Normal file
View 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="
];
}