more docker containers

This commit is contained in:
mjallen18
2024-02-20 16:28:40 -06:00
parent 680f579d7e
commit b599645fd9
5 changed files with 51 additions and 2 deletions

View File

@@ -20,6 +20,8 @@ in
./nas-apps/radarr.nix
./nas-apps/sabnzbd.nix
./nas-apps/mariadb.nix
./nas-apps/nextcloud.nix
./nas-apps/collabora.nix
];
# Enable nix flakes and nix-command tools

9
nas-apps/collabora.nix Normal file
View File

@@ -0,0 +1,9 @@
{ config, pkgs, ... }:
{
# code
virtualisation.oci-containers.containers."collabora" = {
autoStart = true;
image = "collabora/code";
ports = [ "9980:9980" ];
};
}

View File

@@ -1,6 +1,6 @@
{ config, pkgs, ... }:
{
# sonarr
# mariadb
virtualisation.oci-containers.containers."mariadb" = {
autoStart = true;
image = "linuxserver/mariadb";
@@ -14,7 +14,7 @@
TZ = "America/Chicago";
MYSQL_ROOT_PASSWORD = "BogieDudie1";
MYSQL_DATABASE = "jallen_nextcloud";
MYSQL_USER = "mjallen";
MYSQL_USER = "nextcloud";
MYSQL_PASSWORD = "BogieDudie1";
};
};

18
nas-apps/nextcloud.nix Normal file
View File

@@ -0,0 +1,18 @@
{ config, pkgs, ... }:
{
# nextcloud
virtualisation.oci-containers.containers."nextcloud" = {
autoStart = true;
image = "linuxserver/nextcloud";
ports = [ "9443:443" ];
volumes = [
"/mnt/Safe\ SSD/ssd_app_data/nextcloud:/config"
"/mnt/Main\ Pool/Nextcloud:/data"
];
environment = {
PUID = "911";
PGID = "1000";
TZ = "America/Chicago";
};
};
}

20
nas-apps/vscode.nix Normal file
View File

@@ -0,0 +1,20 @@
{ config, pkgs, ... }:
{
environment.systemPackages = with pkgs; [
(vscode-with-extensions.override {
vscodeExtensions = with vscode-extensions; [
bbenoist.nix
ms-python.python
ms-azuretools.vscode-docker
ms-vscode-remote.remote-ssh
] ++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [
{
name = "remote-ssh-edit";
publisher = "ms-vscode-remote";
version = "0.47.2";
sha256 = "1hp6gjh4xp2m1xlm1jsdzxw9d8frkiidhph6nvl24d0h8z34w49g";
}
];
})
];
}