Arion: Remove docker samba

prepares conversion to natively installed samba
This commit is contained in:
GHOSCHT 2024-06-13 23:19:26 +02:00
parent 3c7751feda
commit 20c587bb5e
Signed by: ghoscht
GPG key ID: 2C2C1C62A5388E82
4 changed files with 0 additions and 53 deletions

View file

@ -8,7 +8,6 @@
inputs.arion.nixosModules.arion
./dns
./infrastructure
./nas
./nextcloud
./push
./git

View file

@ -1,34 +0,0 @@
{pkgs, ...}: {
project.name = "nas";
networks.dmz = {
name = "dmz";
external = true;
};
services = {
samba.service = {
image = "dperson/samba";
container_name = "samba";
ports = [
"137:137/udp"
"138:138/udp"
"139:139/tcp"
"445:445/tcp"
];
environment = {
USERID = 1000;
GROUPID = 1000;
TZ = "Europe/Berlin";
};
command = "-s 'public;/mount;yes;no;yes' -p";
volumes = [
"/storage/dataset/nas:/mount"
];
restart = "always";
networks = [
"dmz"
];
};
};
}

View file

@ -1,6 +0,0 @@
# Instead of pinning Nixpkgs, we can opt to use the one in NIX_PATH
import <nixpkgs> {
# We specify the architecture explicitly. Use a Linux remote builder when
# calling arion from other platforms.
system = "x86_64-linux";
}

View file

@ -1,12 +0,0 @@
{
networking.firewall = {
allowedUDPPorts = [137 138];
allowedTCPPorts = [139 445];
};
virtualisation.arion = {
projects.nas.settings = {
imports = [./arion-compose.nix];
};
};
}