more docker containers
This commit is contained in:
@@ -20,6 +20,8 @@ in
|
|||||||
./nas-apps/radarr.nix
|
./nas-apps/radarr.nix
|
||||||
./nas-apps/sabnzbd.nix
|
./nas-apps/sabnzbd.nix
|
||||||
./nas-apps/mariadb.nix
|
./nas-apps/mariadb.nix
|
||||||
|
./nas-apps/nextcloud.nix
|
||||||
|
./nas-apps/collabora.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# Enable nix flakes and nix-command tools
|
# Enable nix flakes and nix-command tools
|
||||||
|
|||||||
9
nas-apps/collabora.nix
Normal file
9
nas-apps/collabora.nix
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
{ config, pkgs, ... }:
|
||||||
|
{
|
||||||
|
# code
|
||||||
|
virtualisation.oci-containers.containers."collabora" = {
|
||||||
|
autoStart = true;
|
||||||
|
image = "collabora/code";
|
||||||
|
ports = [ "9980:9980" ];
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
{
|
{
|
||||||
# sonarr
|
# mariadb
|
||||||
virtualisation.oci-containers.containers."mariadb" = {
|
virtualisation.oci-containers.containers."mariadb" = {
|
||||||
autoStart = true;
|
autoStart = true;
|
||||||
image = "linuxserver/mariadb";
|
image = "linuxserver/mariadb";
|
||||||
@@ -14,7 +14,7 @@
|
|||||||
TZ = "America/Chicago";
|
TZ = "America/Chicago";
|
||||||
MYSQL_ROOT_PASSWORD = "BogieDudie1";
|
MYSQL_ROOT_PASSWORD = "BogieDudie1";
|
||||||
MYSQL_DATABASE = "jallen_nextcloud";
|
MYSQL_DATABASE = "jallen_nextcloud";
|
||||||
MYSQL_USER = "mjallen";
|
MYSQL_USER = "nextcloud";
|
||||||
MYSQL_PASSWORD = "BogieDudie1";
|
MYSQL_PASSWORD = "BogieDudie1";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
18
nas-apps/nextcloud.nix
Normal file
18
nas-apps/nextcloud.nix
Normal 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
20
nas-apps/vscode.nix
Normal 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";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
})
|
||||||
|
];
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user