Files
nixos/hardware/mounts.nix

48 lines
1.3 KiB
Nix
Raw Normal View History

2026-02-22 23:49:42 +00:00
{ pkgs, ... }:
{
# Ensure NFS support is installed
environment.systemPackages = [ pkgs.nfs-utils ];
fileSystems = {
"/home/chris/Stardust" = {
device = "192.168.2.158:/mnt/tower/stardust/chris/files";
fsType = "nfs4";
options = [
"defaults"
"x-systemd.mount-timeout=5"
"user"
"exec"
"x-systemd.automount" # Mounts on access
"noauto" # Doesn't block boot if server is down
];
};
"/home/chris/Foundry" = {
device = "192.168.2.158:/mnt/tower/foundry/Data";
fsType = "nfs4";
options = [
"defaults"
"x-systemd.mount-timeout=5"
"user"
"exec"
"x-systemd.automount"
"noauto"
];
};
2026-03-15 17:04:38 +00:00
2026-03-15 17:17:18 +00:00
# "/home/chris/Games" = {
# device = "/dev/disk/bi-label/Games";
# fsType = "ext4";
# options = [
# "defaults"
# "x-systemd.mount-timeout=5"
# "user"
# "exec"
# "x-systemd.automount"
# "noauto"
# ];
# };
2026-02-22 23:49:42 +00:00
};
}