containers/diamond: init
Some checks are pending
CI / Build linux-lava for x86_64-linux (push) Waiting to run
Some checks are pending
CI / Build linux-lava for x86_64-linux (push) Waiting to run
This commit is contained in:
parent
3a45f85c37
commit
2f79c9d6ec
8 changed files with 196 additions and 20 deletions
18
containers/diamond/configuration.nix
Normal file
18
containers/diamond/configuration.nix
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{ config, lib, ... }: {
|
||||
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 = "diamond.local.lava.moe";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue