mounted SSHFS Pool @nix
This commit is contained in:
parent
15f8401b81
commit
bf91fa550b
1 changed files with 21 additions and 5 deletions
|
@ -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"];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue