05:49
Emantor has joined #nixos-systemd
16:05
elvishjerricco has joined #nixos-systemd
19:24
<
aanderse >
ok who is familiar enough with systemd mounts and maybe autofs to help me out...?
19:24
<
aanderse >
do i still need autofs?
19:24
<
aanderse >
or should i just be using systemd mounts?
19:25
<
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
19:25
<
aanderse >
and i'm running this on a server
19:26
<
aanderse >
autofs is nice because a connection can die and then be brought back up all seamless to the user
19:47
<
hexa- >
no, you don't need autofs anymore
19:47
<
hexa- >
autofs can be replaced by mount option x-systemd.automount
19:55
<
aanderse >
hexa-: thanks. so these systemd automounts, will they ever auto unmount (when not being accessed)?
19:56
<
hexa- >
configurable
19:56
<
hexa- >
there is x-systemd.{device-timeout,idle-timeout}
19:57
<
aanderse >
fantastic, thanks so much :)
19:57
<
{^_^} >
hexa-'s karma got increased to 2
19:58
<
aanderse >
well you're my hero today
19:58
<
hexa- >
that was easy :p
21:04
<
flokli >
heh, remember me using these automounts to /slowly/ mount nfs shares on access
21:05
<
flokli >
as the kernel otherwise segfaulted, if I tried to mount all 20 shares at once
21:05
<
flokli >
:facepalm:
23:37
<
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 🤦