Commit 1d5f25b25f5f
Changed files (1)
tmp
nixos-configuration
machine
tmp/nixos-configuration/machine/home.nix
@@ -4,9 +4,27 @@ with import ../assets/machines.nix; {
boot.kernelParams = [ "nfs.nfs4_disable_idmapping=0" "nfsd.nfs4_disable_idmapping=0" ];
networking.domain = "synodine.home";
time.timeZone = "Europe/Paris";
+ # To mimic autofs on fedora
+ fileSystems."/net/synodine.home/" = {
+ device = "${home.ips.synodine}:/";
+ fsType = "nfs";
+ options = [ "x-systemd.automount" "noauto" ];
+ };
+ # FIXME(vdemeester): I think it acts like this because there is only one export
+ fileSystems."/net/sakhalin.home/export/gaia" = {
+ device = "${home.ips.sakhalin}:/";
+ fsType = "nfs";
+ options = [ "x-systemd.automount" "noauto" ];
+ };
+ # Deprecated
fileSystems."/mnt/synodine" = {
device = "${home.ips.synodine}:/";
fsType = "nfs";
- options = ["x-systemd.automount" "noauto"];
+ options = [ "x-systemd.automount" "noauto" ];
+ };
+ fileSystems."/mnt/sakhalin" = {
+ device = "${home.ips.sakhalin}:/";
+ fsType = "nfs";
+ options = [ "x-systemd.automount" "noauto" ];
};
}