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
|
programs.fuse.userAllowOther = true;
|
||||||
# fileSystems."/" = {
|
|
||||||
# device = "/dev/sda1";
|
fileSystems = {
|
||||||
# fsType = "ext4";
|
"/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