this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

perf(disko): use nix-shell instead of nix run

See https://github.com/nix-community/disko/issues/947#issuecomment-2685647104

> Issue 1
> - disko-install downloads everything to /nix/store, but nixos-install - to /mnt/nix/store directly
> Issue 2:
> - nix run 'github:nix-community/disko/latest#disko-install' takes 1.3G
> - nix-shell -p disko just took 1M

Khue Doan 50ed7f1d 33a7f0e8

+2 -4
+1 -3
Makefile
··· 31 31 # This consumes significant memory on the live USB because dependencies are 32 32 # downloaded to tmpfs. The configuration must be small, or the machine must 33 33 # have a lot of RAM. 34 - sudo nix \ 35 - --extra-experimental-features 'nix-command flakes' \ 36 - run 'github:nix-community/disko/latest#disko-install' -- \ 34 + sudo disko-install \ 37 35 --write-efi-boot-entries \ 38 36 --flake '.#${host}' \ 39 37 --disk main '${disk}'
+1 -1
README.md
··· 31 31 4. Install NixOS from the live CD: 32 32 33 33 ```sh 34 - nix-shell -p git gnumake neovim 34 + nix-shell -p git gnumake neovim disko 35 35 git clone https://github.com/khuedoan/nixos-setup 36 36 cd nixos-setup 37 37 # Remember to replace the placeholders