Last active
March 6, 2021 15:59
-
-
Save cleverca22/52a8b4bf048f7c66bd99562be1f74474 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[clever@amd-nixos:~]$ nix-build '<nixpkgs/nixos>' -A config.system.build.toplevel --arg configuration '{ lib, ... }: { imports = [ <nixpkgs/nixos/modules/installer/netboot/netboot-minimal.nix> ]; hardware.enableAllFirmware=false; hardware.enableRedistributableFirmware = lib.mkForce false; system.extraDependencies = lib.mkForce []; disabledModules = [ "installer/cd-dvd/channel.nix" "profiles/base.nix" "tasks/lvm.nix" ]; nixpkgs.overlays = [ (self: super: { grub=self.utillinux; grub2_efi=self.utillinux; grub2_full=self.utillinux; } ) ]; services.udisks2.enable = false; }' | |
[clever@amd-nixos:~]$ du --apparent-size -hc --max=0 $(nix-store -qR ./result) | sort -h | tail | |
11M /nix/store/vbyifyycrq5rl8jij32zpw4fryqlwhyn-systemd-minimal-247.3 | |
12M /nix/store/1anr2k0jn6iqvvax4pk9jjnsmzr412hf-coreutils-8.32 | |
13M /nix/store/bqgh27q7fhkavvn7jf7gmyy084n5xgy2-glib-2.66.4 | |
27M /nix/store/4712fsjq670jsqjrpkkmpfzhi9g1k4nj-systemd-247.3 | |
30M /nix/store/hp8wcylqr14hrrpqap4wdrwzq092wfln-glibc-2.32-37 | |
33M /nix/store/cnr2g93s3xian19sfn8035vhhl7p4h40-spidermonkey-78.4.0 | |
34M /nix/store/9azf582s9336m2k7rjg5xyd93qdfx8b8-icu4c-67.1 | |
52M /nix/store/192j9y62kp6a5kjw1ylgg1s4w7yxchc5-perl-5.32.1 | |
71M /nix/store/isby5wh46bcnfa5ljzky4c6rdy92ddng-linux-5.4.100 | |
558M total |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment