Emantor has joined #nixos-systemd
elvishjerricco has joined #nixos-systemd
<aanderse> ok who is familiar enough with systemd mounts and maybe autofs to help me out...?
<aanderse> do i still need autofs?
<aanderse> or should i just be using systemd mounts?
<aanderse> i want to use autofs because connections can be flakey and i assume a connection to a windows share can die at any time
<aanderse> and i'm running this on a server
<aanderse> autofs is nice because a connection can die and then be brought back up all seamless to the user
<hexa-> no, you don't need autofs anymore
<hexa-> autofs can be replaced by mount option x-systemd.automount
<aanderse> hexa-: thanks. so these systemd automounts, will they ever auto unmount (when not being accessed)?
<hexa-> configurable
<hexa-> there is x-systemd.{device-timeout,idle-timeout}
<aanderse> fantastic, thanks so much :)
<aanderse> hexa-++
<{^_^}> hexa-'s karma got increased to 2
<aanderse> well you're my hero today
<aanderse> thanks
<hexa-> that was easy :p
<hexa-> yw
<flokli> heh, remember me using these automounts to /slowly/ mount nfs shares on access
<flokli> as the kernel otherwise segfaulted, if I tried to mount all 20 shares at once
<flokli> :facepalm:
<flokli> arianvp: apparently, /nix/var/nix/profiles/default appears if you nix-env -iA nixos.$package (try mdadm). And then systemd discovers these units even 🤦