mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 06:28:11 +09:00
44 lines
971 B
Nix
44 lines
971 B
Nix
# Edit this configuration file to define what should be installed on
|
||
# your system. Help is available in the configuration.nix(5) man page
|
||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||
|
||
{ ... }:
|
||
|
||
{
|
||
imports = [
|
||
./hardware-configuration.nix
|
||
];
|
||
|
||
fileSystems."/mnt/immich-nfs" = {
|
||
device = "unas.moons14.com:/var/nfs/shared/immich";
|
||
fsType = "nfs";
|
||
options = [
|
||
"nfsvers=3"
|
||
"hard"
|
||
"timeo=600"
|
||
"retrans=2"
|
||
"noatime"
|
||
"_netdev"
|
||
"nofail"
|
||
"x-systemd.requires=network-online.target"
|
||
"x-systemd.after=network-online.target"
|
||
];
|
||
};
|
||
|
||
fileSystems."/mnt/test-nfs" = {
|
||
device = "unas.moons14.com:/var/nfs/shared/test";
|
||
fsType = "nfs";
|
||
options = [
|
||
"nfsvers=3"
|
||
"hard"
|
||
"timeo=600"
|
||
"retrans=2"
|
||
"noatime"
|
||
"_netdev"
|
||
"nofail"
|
||
"x-systemd.requires=network-online.target"
|
||
"x-systemd.after=network-online.target"
|
||
];
|
||
};
|
||
}
|