!PSmBFWNKoXmlQBzUQf:helsinki-systems.de

Stage 1 systemd

81 Members
systemd in NixOs's stage 1, replacing the current bash tooling https://github.com/NixOS/nixpkgs/projects/5125 Servers

Load older messages


SenderMessageTime
24 Apr 2023
@lily:lily.flowers@lily:lily.flowers nix shell [pkg] --run [cmd] mostly does that. Just realized it needs quotes though I think 21:39:03
@lily:lily.flowers@lily:lily.flowers * nix shell nixpkgs#dracut --run "lsinitrd --unpack $(readlink -f /run/current-system/initrd)" should unpack into current dir 21:39:16
@aktaboot:tchncs.de@aktaboot:tchncs.deerror: unrecognised flag '--run`21:39:16
@aktaboot:tchncs.de@aktaboot:tchncs.de * error: unrecognised flag '--run 21:39:20
@lily:lily.flowers@lily:lily.flowersOh... Let me go check manual page real quick21:39:28
@elvishjerricco:matrix.org@elvishjerricco:matrix.org It's nix shell [pkg] -c [cmd], no quotes required for [cmd] 21:39:41
@lily:lily.flowers@lily:lily.flowers I might be confusing nix-shell and nix shell. If it's not --run it's probably -c 21:39:41
@lily:lily.flowers@lily:lily.flowers * nix shell nixpkgs#dracut -c lsinitrd --unpack $(readlink -f /run/current-system/initrd) should unpack into current dir 21:39:54
@elvishjerricco:matrix.org@elvishjerricco:matrix.org everything after -c becomes argv 21:40:04
@aktaboot:tchncs.de@aktaboot:tchncs.dethanks :)21:40:47
@aktaboot:tchncs.de@aktaboot:tchncs.dethe big blobs : systemd-stage-1 openssl btrfs-progs and tpm2-tss21:41:56
@lily:lily.flowers@lily:lily.flowers (yes, thank you for remembering ElvishJerricco. I get those flags confused more often than I should...) 21:42:02
@elvishjerricco:matrix.org@elvishjerricco:matrix.orghm didn't realize btrfs-progs was large21:42:31
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgnever used btrfs :P21:42:41
@aktaboot:tchncs.de@aktaboot:tchncs.de4.8 MiB21:42:53
@aktaboot:tchncs.de@aktaboot:tchncs.deI forgot i have btrfs actually, I occasionally remember i set it up21:43:10
@elvishjerricco:matrix.org@elvishjerricco:matrix.org yea, looking into mine, which is 27M, I thought a lot of it would be plymouth but it's basicaly none because I use the bgrt theme 21:43:18
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgit's mostly the network-enabled sytemd package and its dependencies21:44:01
@aktaboot:tchncs.de@aktaboot:tchncs.deno idea why I have tpm2-tss though21:44:26
@aktaboot:tchncs.de@aktaboot:tchncs.dethere isn't even a tpm on this laptop21:44:38
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgtpm stuff is currently included when luks is included at all21:45:08
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgwe should probably make that configurable21:45:21
@aktaboot:tchncs.de@aktaboot:tchncs.deoh 👍21:45:24
@lily:lily.flowers@lily:lily.flowersYeah that's another 3.8M store path21:45:40
@aktaboot:tchncs.de@aktaboot:tchncs.dethe root thing is I probably should have put 1GB on /boot which I usually do nowadays21:46:37
@aktaboot:tchncs.de@aktaboot:tchncs.destorage is cheap21:46:44
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgYea I always do 1G, except when I got a 2T SSD for one of my things and decided "fuck it, 2G ESP" :P21:47:29
@lily:lily.flowers@lily:lily.flowersYeah I have mine at 512 MiB21:47:31
@aktaboot:tchncs.de@aktaboot:tchncs.dethanks for the help :) !21:48:10
@lily:lily.flowers@lily:lily.flowers Also ElvishJerricco did we ever fix initrds getting regenerated with every change in nixpkgs revision due to inclusion of that revision in /etc/initrd-release? 21:48:13

Show newer messages


Back to Room ListRoom Version: 6