| 24 Apr 2023 |
@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 | * nix shell nixpkgs#dracut --run "lsinitrd --unpack $(readlink -f /run/current-system/initrd)" should unpack into current dir | 21:39:16 |
@aktaboot:tchncs.de | error: unrecognised flag '--run` | 21:39:16 |
@aktaboot:tchncs.de | * error: unrecognised flag '--run | 21:39:20 |
@lily:lily.flowers | Oh... Let me go check manual page real quick | 21:39:28 |
@elvishjerricco:matrix.org | It's nix shell [pkg] -c [cmd], no quotes required for [cmd] | 21:39:41 |
@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 | * nix shell nixpkgs#dracut -c lsinitrd --unpack $(readlink -f /run/current-system/initrd) should unpack into current dir | 21:39:54 |
@elvishjerricco:matrix.org | everything after -c becomes argv | 21:40:04 |
@aktaboot:tchncs.de | thanks :) | 21:40:47 |
@aktaboot:tchncs.de | the big blobs : systemd-stage-1 openssl btrfs-progs and tpm2-tss | 21:41:56 |
@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 | hm didn't realize btrfs-progs was large | 21:42:31 |
@elvishjerricco:matrix.org | never used btrfs :P | 21:42:41 |
@aktaboot:tchncs.de | 4.8 MiB | 21:42:53 |
@aktaboot:tchncs.de | I forgot i have btrfs actually, I occasionally remember i set it up | 21:43:10 |
@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 | it's mostly the network-enabled sytemd package and its dependencies | 21:44:01 |
@aktaboot:tchncs.de | no idea why I have tpm2-tss though | 21:44:26 |
@aktaboot:tchncs.de | there isn't even a tpm on this laptop | 21:44:38 |
@elvishjerricco:matrix.org | tpm stuff is currently included when luks is included at all | 21:45:08 |
@elvishjerricco:matrix.org | we should probably make that configurable | 21:45:21 |
@aktaboot:tchncs.de | oh 👍 | 21:45:24 |
@lily:lily.flowers | Yeah that's another 3.8M store path | 21:45:40 |
@aktaboot:tchncs.de | the root thing is I probably should have put 1GB on /boot which I usually do nowadays | 21:46:37 |
@aktaboot:tchncs.de | storage is cheap | 21:46:44 |
@elvishjerricco:matrix.org | Yea I always do 1G, except when I got a 2T SSD for one of my things and decided "fuck it, 2G ESP" :P | 21:47:29 |
@lily:lily.flowers | Yeah I have mine at 512 MiB | 21:47:31 |
@aktaboot:tchncs.de | thanks for the help :) ! | 21:48:10 |
@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 |