flakes/containers/diamond/configuration.nix
Cilly Leang cc8e7058b3
Some checks are pending
CI / Build linux-lava for x86_64-linux (push) Waiting to run
containers: clean up domain names
2026-03-17 17:01:15 +11:00

18 lines
444 B
Nix

{ fqdn, ... }: {
system.stateVersion = "25.11";
systemd.tmpfiles.rules = [
"d /persist/vaultwarden 755 vaultwarden vaultwarden"
];
fileSystems."/var/lib/vaultwarden" = {
device = "/persist/vaultwarden";
fsType = "none";
options = [ "bind" ];
};
networking.firewall.allowedTCPPorts = [ 8000 ];
networking.firewall.allowedUDPPorts = [ 8000 ];
services.vaultwarden = {
enable = true;
domain = fqdn;
};
}