Commit graph

14 commits

Author SHA1 Message Date
Jörg Thalheim
423b86a7f7 disko-install: don't copy channel
Since we use flakes, channels have no buisness.
This is consistent with nixos-anywhere.
2024-06-29 05:47:47 +00:00
Florian Klink
cb1d6fba69 disko-install: only set NIX_STATE_DIR for load-db
We don't need to keep this env var around for the xargs invocation, only when running `nix-store --load-db`.
2024-05-15 07:07:42 +00:00
Jörg Thalheim
718565dfbb drop dependency on xcp
It's actually not faster in combination with xargs...
2024-05-07 08:53:10 +02:00
Jörg Thalheim
cdefe26742 load database with checksum again but do the same in disko-install 2024-05-07 08:53:10 +02:00
Qubasa
2ec3549b6f Change --system-option KEY VAL to --system-config JSON
Update install-cli.nix
2024-04-29 14:57:02 +00:00
Qubasa
b3254b1038 Add --system-option flag. 2024-04-29 14:57:02 +00:00
Jörg Thalheim
fbbac1aee6 disko-install: document --mode flag more 2024-04-05 13:54:19 +00:00
Jörg Thalheim
a6717b1afe disko-install: check if it runs as root 2024-03-26 14:19:03 +00:00
Jörg Thalheim
fe064a6393 use nom-build if available
Nicer progress bars etc
2024-03-11 16:10:06 +01:00
Jörg Thalheim
a949edef70 accept relative paths for flakes in disko/disko-install
builtins.getFlake wants absolute paths
2024-03-11 16:10:06 +01:00
Jörg Thalheim
cf185d687f disko-install: improve error message if disk is not passed 2024-03-05 14:03:10 +00:00
Jörg Thalheim
0d11aa8d64 disko-install: add extra-files option 2024-03-05 09:52:34 +00:00
Jörg Thalheim
3704ee3926 add efi var install option 2024-03-05 09:45:10 +00:00
Jörg Thalheim
bde7dd352c add disko-install command
disko-install combines disko and nixos-install into a single command.

Example usage:

  sudo ./disko-install --flake /someflake#eva --disk sda /dev/zvol/zroot/test
2024-03-01 09:48:08 +00:00