add vaultwarden

This commit is contained in:
♥ Minnie ♥ 2023-05-31 23:41:01 +08:00
parent 944e066b7a
commit 20ae7d36a2
3 changed files with 21 additions and 4 deletions

View file

@ -205,11 +205,11 @@
"locked": {
"lastModified": 1,
"narHash": "sha256-9yA3EWDaaAmIpotcyodU2TOU9hiKU6mGhx1CDmqab2o=",
"path": "home-manager/common/jade/xmobar/xmobar-config",
"path": "home-manager/common/desktop/xmobar/xmobar-config",
"type": "path"
},
"original": {
"path": "home-manager/common/jade/xmobar/xmobar-config",
"path": "home-manager/common/desktop/xmobar/xmobar-config",
"type": "path"
}
},
@ -222,11 +222,11 @@
"locked": {
"lastModified": 1,
"narHash": "sha256-E4BkxlATBwtD2VV2R9RU27T7ih7NCvif/n50RV6mgiY=",
"path": "home-manager/common/jade/xmonad/xmonad-config",
"path": "home-manager/common/desktop/xmonad/xmonad-config",
"type": "path"
},
"original": {
"path": "home-manager/common/jade/xmonad/xmonad-config",
"path": "home-manager/common/desktop/xmonad/xmonad-config",
"type": "path"
}
}

View file

@ -20,6 +20,7 @@
# Documents & Files
./qbittorrent
./vaultwarden
# Game servers
./minecraft

View file

@ -0,0 +1,16 @@
{ ... }:
{
# Vaultwarden
virtualisation.oci-containers.containers."vaultwarden" = {
autoStart = true;
image = "vaultwarden/server:latest";
volumes = [
"/srv/containers/vaultwarden:/data"
];
ports = [ "8484:80" ];
environment = {
DOMAIN = "https://vault.kanto.dev";
};
};
}