Ana Hobden
Ana Hobden
Yup I can confirm this: ``` ana@ephemeral-ubuntu:~$ curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix/tag/v0.8.0 | sh -s -- install info: downloading installer https://install.determinate.systems/nix/tag/v0.8.0/nix-installer-x86_64-linux `nix-installer` needs to run as `root`, attempting...
After chatting with @edolstra I think we might try to improve the error which `nix` offers here.
Hi @chewblacka ! This is something I'd like to support too! In fact, I think it may be required for things like #389 . One strategy here would be to...
Ah! That sounds really similar to what we do on the Steam Deck where we have a unit which reloads the units after the mounts: https://github.com/DeterminateSystems/nix-installer/blob/4cc8326ee98f1e5fc73e974cf6f425215e1ff899/src/planner/steam_deck.rs#L180-L198
Great catch, thanks!
![image](https://user-images.githubusercontent.com/130903/236915226-5f71e140-29d9-4802-b882-979d092e9c00.png) Yeah, definitely a problem!
https://www.freedesktop.org/software/systemd/man/latest/systemd-tmpfiles.html suggests: > If the configuration was syntactically valid, but could not be executed (lack of permissions, creation of files in missing directories, invalid contents when writing to /sys/ values,...
30000 is what the official install scripts use, and we generally match them. We should address this by checking UID as well as suggested in #842
Hmmm, this seems reasonable. How can we prevent the user from thinking `HealthProbe` may have uses on its own?
Unfortunately `systemd-sysext` can't create a `/nix`, I did experiment with this! Unfortunately making the root temporarily writable is the best option I've found. Certainly interested in finding a new idea....