Rename JimboNFS to KittyNFS
This commit is contained in:
parent
ea3a6db5af
commit
c625bba259
14 changed files with 20 additions and 70 deletions
2
hosts/extern/disko/default.nix
vendored
2
hosts/extern/disko/default.nix
vendored
|
@ -70,7 +70,7 @@
|
|||
"/persist/.snapshots" = { };
|
||||
|
||||
"/${config.sysusers.main}" = {
|
||||
mountpoint = "/persist/home/jimbo";
|
||||
mountpoint = "/persist/home/${config.sysusers.main}";
|
||||
mountOptions = [ "compress=zstd" "noatime" "ssd" ];
|
||||
};
|
||||
"/${config.sysusers.main}/.snapshots" = { };
|
||||
|
|
|
@ -33,9 +33,9 @@
|
|||
fsType = "btrfs";
|
||||
options = [ "subvol=persist" "compress=zstd" ];
|
||||
};
|
||||
"/export/JimboNFS" = {
|
||||
"/export/KittyNFS" = {
|
||||
depends = [ "/persist" ];
|
||||
device = "/persist/export/JimboNFS";
|
||||
device = "/persist/export/KittyNFS";
|
||||
fsType = "none";
|
||||
options = [ "bind" ];
|
||||
};
|
||||
|
|
|
@ -91,6 +91,6 @@
|
|||
# Needed for impermanence
|
||||
fileSystems = {
|
||||
"/persist".neededForBoot = true;
|
||||
"/persist/home/jimbo".neededForBoot = true;
|
||||
"/persist/home/${config.sysusers.main}".neededForBoot = true;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -5,8 +5,8 @@
|
|||
device = "/dev/disk/by-uuid/582C6B802C6B57D0";
|
||||
options = [ "nosuid" "nodev" ];
|
||||
};
|
||||
"/home/${config.sysusers.main}/JimboNFS" = {
|
||||
device = "10.100.0.1:/export/JimboNFS";
|
||||
"/home/${config.sysusers.main}/KittyNFS" = {
|
||||
device = "10.100.0.1:/export/KittyNFS";
|
||||
fsType = "nfs4";
|
||||
options = [ "x-systemd.automount" "_netdev" "nofail" "noauto" ];
|
||||
};
|
||||
|
|
|
@ -39,8 +39,8 @@
|
|||
};
|
||||
|
||||
# Network mounts
|
||||
"/home/${config.sysusers.main}/JimboNFS" = {
|
||||
device = "${config.ips.server}:/export/JimboNFS";
|
||||
"/home/${config.sysusers.main}/KittyNFS" = {
|
||||
device = "${config.ips.server}:/export/KittyNFS";
|
||||
fsType = "nfs4";
|
||||
options = [ "x-systemd.automount" "noauto" "soft" "_netdev" ];
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue