mirror of
https://github.com/oddlama/nix-config.git
synced 2025-10-11 07:10:39 +02:00
feat(ward): open kanidm port only for sentinel
This commit is contained in:
parent
c1fe238c75
commit
df2657bb1c
5 changed files with 20 additions and 5 deletions
|
@ -14,6 +14,4 @@
|
|||
./net.nix
|
||||
./nginx.nix
|
||||
];
|
||||
|
||||
boot.loader.grub.devices = ["/dev/disk/by-id/${config.repo.secrets.local.disk.main}"];
|
||||
}
|
||||
|
|
|
@ -39,6 +39,7 @@
|
|||
};
|
||||
};
|
||||
|
||||
boot.loader.grub.devices = ["/dev/disk/by-id/${config.repo.secrets.local.disk.main}"];
|
||||
boot.initrd.luks.devices.enc-rpool.allowDiscards = true;
|
||||
fileSystems."/persist".neededForBoot = true;
|
||||
|
||||
|
|
|
@ -49,6 +49,7 @@ in {
|
|||
locations."/".proxyPass = "https://kanidm";
|
||||
# Allow using self-signed certs to satisfy kanidm's requirement
|
||||
# for TLS connections. (This is over wireguard anyway)
|
||||
# TODO can we get rid of this?
|
||||
extraConfig = ''
|
||||
proxy_ssl_verify off;
|
||||
'';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue