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

View file

@ -1,13 +1,10 @@
{
config,
pkgs ? import <nixpkgs>, # Do not use jail.nix packages
...
}:
{
imports = [
/etc/nixos/security.nix
/etc/nixos/nix.nix
/etc/nixos/modules/security.nix
/etc/nixos/modules/nix.nix
/etc/nixos/modules/ssl.nix
/etc/nixos/modules/headscale
];
nix.nixPath = [