dot.nix/host/cloud/hardware.nix
Chris Toph 784252efa8 SUPER IMPORTANT FSTAB FIX
enabled cache, necessary for a lot of docker containers
2025-02-14 14:54:05 -05:00

45 lines
774 B
Nix

{
admin,
...
}:
{
# for sshfs
programs.fuse.userAllowOther = true;
fileSystems = {
"/pool" = {
fsType = "fuse.mergerfs";
device = "/mnt/data*";
options = [
"cache.files=auto-full"
"defaults"
"allow_other"
"minfreespace=50G"
"fsname=mergerfs"
"category.create=mfs"
"nonempty"
"uid=1000"
"gid=1004" # Ryot group
"umask=002"
];
};
"/home/${admin}/git" = {
fsType = "none";
device = "/pool/git";
options = [
"bind"
"nofail"
];
};
# "/var/lib/nextcloud" = {
# fsType = "none";
# device = "/pool/NextCloud";
# options = [
# "bind"
# "nofail"
# ];
# };
};
}