thefloweringash has quit [Ping timeout: 240 seconds]
aaronjanse has quit [Ping timeout: 244 seconds]
shu9 has quit [Ping timeout: 240 seconds]
Ericson2314 has quit [Ping timeout: 240 seconds]
dvn has joined #nixos-exotic
julianst[m] has quit [Ping timeout: 265 seconds]
Yakulu[m] has quit [Ping timeout: 268 seconds]
thefloweringash has joined #nixos-exotic
aaronjanse has joined #nixos-exotic
shu9 has joined #nixos-exotic
Ericson2314 has joined #nixos-exotic
julianst[m] has joined #nixos-exotic
Yakulu[m] has joined #nixos-exotic
<pie_>
ehmry: ok so im missing too much context but filesystems feel like the only reason anything ever works? because theres a canonica at-rest representation of things?
<pie_>
(ignoring things like sysfs or idk 'xD)
<ehmry>
pie_: canonical reprentation or canonical location?
<ehmry>
sysfs is crappy because its untyped like sysctl
<ehmry>
and the locations of packages and stuff can be mostly figured out at build time, for example /etc isn't full of random junk on nixos because we keep then configuration files in the store and pass them to daemons by command line
<ehmry>
and those command line invocations are kept in systemd units, and we know which units systemd will load at build time (more or less I think), we don't throw files into /etc/systemd
<ehmry>
so we've mostly abolished /usr /etc as it is
<pie_>
now its all in /nix/store
<pie_>
though i guess thats basically opaque
<pie_>
welll besides having tooling
<ehmry>
yea, I don't think there are many cases of programs reading directories in /nix/store, mostly just probing locations, and if that is the case then its basically a key-value store
<ehmry>
its a different story for stuff like source code, but then again we keep that in tarballs in the store
<ehmry>
when building stuff the file-system can't be avoided, but I think in many other cases it can be avoided