Make the two servers work together better and move things around
This commit is contained in:
parent
dbecb3e57e
commit
dad0e0deb4
5 changed files with 23 additions and 15 deletions
|
@ -7,7 +7,7 @@
|
|||
options = [ "nosuid" "nodev" "nofail" "x-gvfs-show" ];
|
||||
};
|
||||
"/home/${config.sysusers.main}/Midas" = {
|
||||
device = "10.2.0.1:/";
|
||||
device = "10.2.0.1:/storage";
|
||||
fsType = "nfs4";
|
||||
options = [ "x-systemd.automount" "noauto" "soft" "_netdev" ];
|
||||
};
|
||||
|
|
|
@ -1,9 +1,16 @@
|
|||
{ ... }:
|
||||
{
|
||||
fileSystems."/persist" = {
|
||||
device = "/dev/disk/by-uuid/acf95700-8669-45c7-9a72-bf3215b3c325";
|
||||
fsType = "btrfs";
|
||||
neededForBoot = true;
|
||||
options = [ "subvol=persist" "compress=zstd" "noatime" ];
|
||||
fileSystems = {
|
||||
"/persist" = {
|
||||
device = "/dev/disk/by-uuid/acf95700-8669-45c7-9a72-bf3215b3c325";
|
||||
fsType = "btrfs";
|
||||
neededForBoot = true;
|
||||
options = [ "subvol=persist" "compress=zstd" "noatime" ];
|
||||
};
|
||||
"/kitty" = {
|
||||
device = "10.2.0.2:/storage/BunStore";
|
||||
fsType = "nfs4";
|
||||
options = [ "x-systemd.automount" "noauto" "soft" "_netdev" ];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -31,13 +31,13 @@
|
|||
};
|
||||
|
||||
# Network mounts
|
||||
"/home/${config.sysusers.main}/Midas" = {
|
||||
device = "10.2.0.1:/";
|
||||
"/home/${config.sysusers.main}/Network/Midas" = {
|
||||
device = "10.2.0.1:/storage";
|
||||
fsType = "nfs4";
|
||||
options = [ "x-systemd.automount" "noauto" "soft" "_netdev" ];
|
||||
};
|
||||
"/home/${config.sysusers.main}/Kitty" = {
|
||||
device = "10.2.0.2:/";
|
||||
"/home/${config.sysusers.main}/Network/Kitty" = {
|
||||
device = "10.2.0.2:/storage/BunStore";
|
||||
fsType = "nfs4";
|
||||
options = [ "x-systemd.automount" "noauto" "soft" "_netdev" ];
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue