mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 20:39:18 -08:00
hosts/samhain: Moved /disks/* to /mnt/, some renames
This commit is contained in:
parent
c95ad7cead
commit
ea04773e80
2 changed files with 9 additions and 9 deletions
|
|
@ -28,17 +28,17 @@
|
||||||
fsType = "vfat";
|
fsType = "vfat";
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/disks/pool-raw" = {
|
fileSystems."/mnt/zraw" = {
|
||||||
device = "zstore/raw";
|
device = "zstore/raw";
|
||||||
fsType = "zfs";
|
fsType = "zfs";
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/disks/pool-compress" = {
|
fileSystems."/mnt/zcomp" = {
|
||||||
device = "zstore/compress";
|
device = "zstore/compress";
|
||||||
fsType = "zfs";
|
fsType = "zfs";
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/disks/pool-protect" = {
|
fileSystems."/mnt/zenc" = {
|
||||||
device = "zstore/protect";
|
device = "zstore/protect";
|
||||||
fsType = "zfs";
|
fsType = "zfs";
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -14,11 +14,11 @@
|
||||||
fi'';
|
fi'';
|
||||||
in {
|
in {
|
||||||
enable = true;
|
enable = true;
|
||||||
home = "/disks/pool-raw/transmission";
|
home = "/mnt/zraw/transmission";
|
||||||
downloadDirPermissions = "777";
|
downloadDirPermissions = "777";
|
||||||
settings = {
|
settings = {
|
||||||
download-dir = "/disks/pool-raw/media/unsorted";
|
download-dir = "/mnt/zraw/media/unsorted";
|
||||||
incomplete-dir = "/disks/pool-raw/media/.incomplete";
|
incomplete-dir = "/mnt/zraw/media/.incomplete";
|
||||||
incomplete-dir-enabled = true;
|
incomplete-dir-enabled = true;
|
||||||
rpc-bind-address = "0.0.0.0";
|
rpc-bind-address = "0.0.0.0";
|
||||||
rpc-whitelist = "127.0.0.1,192.168.1.*,192.168.122.*";
|
rpc-whitelist = "127.0.0.1,192.168.1.*,192.168.122.*";
|
||||||
|
|
@ -57,7 +57,7 @@
|
||||||
"force group" = "users";
|
"force group" = "users";
|
||||||
};
|
};
|
||||||
media = {
|
media = {
|
||||||
path = "/disks/pool-raw/media";
|
path = "/mnt/zraw/media";
|
||||||
browseable = "yes";
|
browseable = "yes";
|
||||||
"read only" = "no";
|
"read only" = "no";
|
||||||
"guest ok" = "yes";
|
"guest ok" = "yes";
|
||||||
|
|
@ -72,13 +72,13 @@
|
||||||
services.nginx.virtualHosts = {
|
services.nginx.virtualHosts = {
|
||||||
"192.168.1.135" = {
|
"192.168.1.135" = {
|
||||||
locations."/share/" = {
|
locations."/share/" = {
|
||||||
alias = "/disks/pool-raw/media/";
|
alias = "/mnt/zraw/media/";
|
||||||
extraConfig = "autoindex on;";
|
extraConfig = "autoindex on;";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
"100.103.111.44" = {
|
"100.103.111.44" = {
|
||||||
locations."/share/" = {
|
locations."/share/" = {
|
||||||
alias = "/disks/pool-raw/media/";
|
alias = "/mnt/zraw/media/";
|
||||||
extraConfig = "autoindex on;";
|
extraConfig = "autoindex on;";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue