mounted SSHFS Pool @nix

This commit is contained in:
Chris 2024-09-25 22:59:02 -04:00
parent 15f8401b81
commit bf91fa550b

View file

@ -1,7 +1,23 @@
{
# TODO: SSHFS
# fileSystems."/" = {
# device = "/dev/sda1";
# fsType = "ext4";
# };
programs.fuse.userAllowOther = true;
fileSystems = {
"/pool" = {
device = "toph@104.40.4.24:/pool";
fsType = "sshfs";
options = [
"defaults"
"reconnect"
"_netdev"
"allow_other"
"identityfile=/home/toph/.ssh/pve"
];
};
"/home/toph/git" = {
fsType = "none";
device = "/pool/git";
options = ["bind" "nofail"];
};
};
}