feat(system): Add remote sshfs filesystem

This commit is contained in:
xezo360hye 2024-08-07 21:02:33 +03:00
parent 5e6db2d595
commit 94bf32731b

View File

@ -12,6 +12,20 @@ in
services.openssh.enable = true; services.openssh.enable = true;
# Router shared filesystem
fileSystems."/home/andrey/Public" = {
device = "root@192.168.2.1:/mnt/sda1";
fsType = "sshfs";
options = [
"nodev"
"noatime"
"allow_other"
"reconnect"
"IdentityFile=/home/andrey/.ssh/id_ed25519"
];
};
# l10n and i8n # l10n and i8n
time.timeZone = "Europe/Riga"; time.timeZone = "Europe/Riga";
i18n.defaultLocale = "en_US.UTF-8"; i18n.defaultLocale = "en_US.UTF-8";