-
-
Notifications
You must be signed in to change notification settings - Fork 54
feat/lower squashfs size unpearl #212
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat/lower squashfs size unpearl #212
Conversation
466b71f
to
a18ae78
Compare
a18ae78
to
ced3ac0
Compare
# crictical path of using kexec images | ||
# in combination with nixos-anywhere | ||
|
||
# THIS IS NOT FUNCTIONAL |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We also have sysusers integrated in NixOS, which is already part of systemd: systemd.sysusers.enable
Than we also don't need perl.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah interesting! I did see it briefly without grasping its purpose or function, at all.
You're saying (?): it's a substitute to the update-users-groups.pl
which is awesome, because that file is a lot more complex to rewrite in c
than the setup-etc.pl
one.
Nice!
|
||
imports = [ | ||
./nix-settings.nix | ||
./un-pearl.nix |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We still have switch-to-configuration.pl after that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's true.
Maybe I did ingest that wrongly, however my current understanding was that nixos-anywhere
at "most" requires nixos-install
which depends on nixos-enter
and if that depends on switch-to-...
, then it indeed escaped my attention.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No I mean. There is also a switch-to-configuration that the system itself has independent on those nixos tools.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, I guess that was weeded out by system.switch.enable = false;
down below
Context
Unfortunately I'm not versed enough in C to reimplement the two packages that are in the critical path.
Call for Help
To create a base-line from which to comfortably start working, if you're versed enough in C, this is what I did so far:
To run the tests, I had manually had to change permission of a store path:
chmod 400 /nix/store/gy10hwl8l8msabrda2lwc7njw1x27j3p-id_ed25519
You might need to do the same.