Commit Graph
100 Commits
Author SHA1 Message Date
Jörg Thalheim 31787cd754 docs: clarify generated image names 2024-03-11 09:55:04 +01:00
Jörg Thalheim 714768a174 docs: expand diskoImagesScript example 2024-03-11 09:40:38 +01:00
Jörg Thalheim 72818e54ec move disko-install into disko package 2024-03-09 07:05:35 +00: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 337abec03f make disko-install captialize 2024-03-05 09:45:10 +00:00
Jörg Thalheim 3704ee3926 add efi var install option 2024-03-05 09:45:10 +00:00
Jörg Thalheim f61c7d28d5 add documentation for disko-install 2024-03-05 09:45:10 +00:00
Jörg Thalheim 0c9b003a48 bcachefs: drop zfs hack 2024-03-05 08:56:58 +01: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
Jörg Thalheim 590245271a add assertion if mirroredBoots is used in vm test 2024-02-22 00:01:18 +00:00
Jörg Thalheim c12719812d bcachefs: stick to nixos's default bcachefs kernel 2024-01-26 09:38:59 +00:00
Jörg Thalheim 38af7137e0 tests/bcachefs: switch to linux_latest 2024-01-15 14:29:04 +00:00
Jörg Thalheim 98ab911097 bcachefs: set testing kernel for bcachefs
still waiting for the slow upstream review...
2023-12-14 16:02:39 +00:00
Jörg Thalheim 1144887c6f lvm: update kernel modules when creating raid 2023-12-06 23:28:45 +00:00
Jörg Thalheim c7f594c2ab doc: add experimental flags to examples
fixes https://github.com/nix-community/disko/issues/459
2023-12-06 22:51:30 +00:00
Jörg Thalheim 3cb78c93e6 swap: don't activate random encrypted swap files
This requires more code and is not implemented just now.
2023-11-25 15:47:29 +00:00
Jörg Thalheim 89fd5b51f0 docs/reference: fixup headings 2023-11-11 20:23:15 +00:00
Jörg ThalheimandJanik 39f8a6adc4 docs: improve make-disk-image docs using my text calculator
Co-authored-by: Janik <80165193+Janik-Haag@users.noreply.github.com>
2023-11-11 20:23:15 +00:00
Jörg Thalheim 8c5d52db56 publish to flakestry 2023-10-24 15:55:28 +02:00
Jörg Thalheim 78fba3983d make boot large enough in tests
100M is not enough and I see people just copying examples without putting in any extra thoughts
https://github.com/TUM-DSE/doctor-cluster-config/pull/368
2023-09-27 06:19:07 +00:00
Jörg Thalheim 2b523b58e6 use M instead MiB suffix everywhere
This seems to do better alignment
2023-09-27 06:02:50 +00:00
Jörg Thalheim b18f43a9c2 luks: don't leak secret in debug logs 2023-09-27 05:52:36 +00:00
Jörg Thalheim f43f106e91 disko: also support -h 2023-09-20 10:13:12 +00:00
Jörg Thalheim 9ab96378f8 reformat tree 2023-09-17 04:43:25 +00:00
Jörg Thalheim 1be23d771f replace statix with deadnix
statix does sometimes weird stuff while deadnix is even better at finding deadcode
2023-09-17 04:43:25 +00:00
Jörg Thalheim 4ec801c317 add deno to formatters 2023-09-17 04:43:25 +00:00
Jörg Thalheim ea3e29fe7d update command line reference 2023-09-17 04:43:25 +00:00
Jörg Thalheim ecfb74e5cf remove another instance of hostId 2023-09-02 17:55:49 +00:00
Jörg Thalheim 3133097918 grub: drop version 2 from docs 2023-09-02 18:45:50 +02:00
Jörg Thalheim 76d301bc94 tests/complex: also mark zfs_fs dataset as non-fail
Reason is probably same as zfs_legacy_fs
2023-09-02 18:37:01 +02:00
Jörg Thalheim c4f2de908d fix evaluation of checks on non-x86_64-linux
run nix fmt
2023-09-02 18:37:01 +02:00
Jörg Thalheim 9de99e174c run nix-fmt 2023-09-02 18:08:41 +02:00
Jörg Thalheim 78856a26b6 mergify: switch to buildbot 2023-09-02 14:18:17 +02:00
Jörg Thalheim de50df482e do not set networking.hostId in vm tests by default
This will conflict with the user defaults otherwise
2023-09-02 14:16:18 +02:00
Jörg Thalheim 6388d2859c find more broken riscv64 tests 2023-08-14 07:59:55 +00:00
Jörg Thalheim 358b87fd44 make tests risv64 compatible 2023-08-13 18:30:15 +00:00
Jörg Thalheim 3ba5bb2de6 disable haskell-based builds on riscv64
fixes https://github.com/nix-community/disko/issues/321
2023-08-13 17:41:12 +00:00
Jörg Thalheim 241c878d4b drop deprecated boot.initrd.services.swraid.enable option 2023-08-11 08:45:46 +00:00
Jörg Thalheim b32f0e2876 apply treefmt 2023-08-11 08:45:46 +00:00
Jörg Thalheim 049d1bd952 silence eval warnings in make-disk-image tests 2023-08-11 08:45:46 +00:00
Jörg Thalheim a1d04e00bd add missing tests 2023-08-10 14:46:44 +02:00
Jörg Thalheim 493b347d8f disko: drop binPrefix when building destroyScript
This seems to cause eval errors and I also don't know where this is supposed to come from
2023-08-06 16:28:59 +00:00
Jörg Thalheim 4b30f029d2 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/cd99c2b3c9f160cd004318e0697f90bbd5960825' (2023-07-01)
  → 'github:NixOS/nixpkgs/0d5682acc109add20f70440269587a1b169cc2fe' (2023-07-04)
2023-07-05 09:48:02 +02:00
Jörg Thalheim 1cd619f26f stop vendoring bcachefs
the bcachefs linux fork in nixpkgs is in better shape these days
2023-07-05 09:48:02 +02:00
Jörg Thalheim 4823509bb3 boot-raid1: switch to new gpt type 2023-06-19 00:33:16 +00:00
Jörg Thalheim 95c10a6c7f bcachefs: migrate to new part type 2023-06-16 20:01:12 +00:00
Jörg Thalheim 0a3d694a39 mergify: switch to rebase 2023-06-16 13:40:42 +02:00
Jörg Thalheim 55eea2030a update-flake-lock: add permission to create pr 2023-06-12 06:49:44 +02:00
Jörg Thalheim fc63247f9e drop disko bot 2023-06-12 06:48:24 +02:00
Jörg Thalheim 160bd22789 replace bors with mergify 2023-06-12 06:46:43 +02:00
Jörg Thalheim 1af22d6dde linux-testing-bcachefs: 6.3.0-2023-05-02 -> 6.3.0-2023-05-21 2023-06-08 11:19:38 +02:00
Jörg Thalheim a8d85d9f89 apply deadnix 2023-06-06 13:32:47 +02:00
Jörg Thalheim 97d546372c linux-testing-bcachefs: 6.2.0-2023-04-15 -> 6.3.0-2023-05-02 2023-05-04 10:26:02 +02:00
Jörg Thalheim e97617e260 quickstart: fix grammar 2023-04-16 21:50:35 +02:00
Jörg Thalheim c7d5aef3f0 README: add project logo 2023-04-16 17:16:17 +02:00
Jörg Thalheim 0a9e04a9da linux-bcachefs-testing: 6.2.0-2023-03-22 -> 6.2.0-2023-04-15 2023-04-15 23:16:44 +02:00
Jörg Thalheim 8cb5b9656a upgrade-guide: fix markdown syntax 2023-04-15 17:18:50 +02:00
Jörg Thalheim 859e7c5be2 update bors.toml 2023-04-15 16:12:56 +02:00
Jörg Thalheim 8ac50aa153 improve changelog 2023-04-15 16:08:27 +02:00
Jörg Thalheim d348d0ad19 linux-bcachefs: 6.1.0-2023-02-01 -> 6.2.0-2023-03-13 2023-03-27 13:34:46 +02:00
Jörg Thalheim edcc636fd0 linux-bcachefs: 6.1.0-2023-02-01 -> 6.2.0-2023-03-13 2023-03-14 09:16:21 +01:00
Jörg Thalheim 7e135d744d quickstart: fix example 2023-02-26 16:00:27 +01:00
Jörg Thalheim a511f59961 jq: filter null values from mountpoints from lsblk output 2023-02-03 14:57:55 +01:00
Jörg Thalheim 753b5543a0 better structure 2023-02-03 13:27:21 +01:00
Jörg Thalheim 66b265be44 add quickstart guide 2023-02-03 13:22:44 +01:00
Jörg Thalheim db2be366c4 quickstart guide 2023-02-03 13:22:42 +01:00
Jörg Thalheim d23fcb611e add test for hybrid configuration 2023-02-02 14:49:20 +01:00
Jörg Thalheim daaba55a28 delete obsolete types.nix 2023-02-02 14:42:09 +01:00
Jörg Thalheim 78ea07107a support zvol with disko
this is useful for quick testing.
2023-02-02 14:42:09 +01:00
Jörg Thalheim 9f58230409 also inherit lib for disko scripts 2023-02-02 14:42:09 +01:00
Jörg Thalheim 0fadf13755 hardcode nixpkgs in NIX_PATH of disko cli 2023-02-02 14:42:09 +01:00
Jörg Thalheim 50adcfe303 disko: fix packaging missing nix files 2023-02-02 14:42:09 +01:00
Jörg Thalheim 5f4651aa0b bcachefs: 2022-12-29 -> 2023-02-01 2023-02-01 22:56:32 +01:00
Jörg Thalheim 48e4c06004 split disko type into multiple files 2023-01-29 08:10:33 +01:00
Jörg Thalheim e018cf8c59 update bors toml 2023-01-23 15:35:25 +01:00
Jörg Thalheim 65a8e3f9a0 move linuxPackages_bcachefs to legacyPackages 2023-01-23 15:34:35 +01:00
Jörg Thalheim eca1957835 vendorize bcachefs kernel 2023-01-23 10:56:51 +01:00
Jörg Thalheim 5e1969f952 Revert "don't use bot token for flake updates"
This reverts commit c681875a0c.

That did not quite work, but now we have our own bot for disko.
2023-01-23 09:29:14 +01:00
Jörg Thalheim c681875a0c don't use bot token for flake updates 2023-01-23 09:15:25 +01:00
Jörg Thalheim 3da5595a9c drop mergify 2023-01-23 09:08:59 +01:00
Jörg Thalheim f0fff7ab32 ci: automerge flake updates 2023-01-23 09:06:47 +01:00
Jörg Thalheim 36ef99fca6 add disko-doc 2023-01-15 21:34:52 +01:00
Jörg Thalheim 2584fb5b82 update mergify 2023-01-10 08:17:29 +01:00
Jörg Thalheim bd27a2e9d4 bors.toml: drop leading line 2023-01-10 08:14:04 +01:00
Jörg Thalheim 40516cfd68 update bors.toml 2023-01-10 08:11:05 +01:00
Jörg Thalheim a6a7ccbc9b add shellcheck to flake instead 2023-01-10 08:05:45 +01:00
Jörg Thalheim 1c7467f163 add github action to keep flakes up-to-date 2023-01-04 15:04:45 +01:00
Jörg Thalheim dcc80387d2 add bors.toml 2023-01-04 09:57:53 +01:00
Jörg Thalheim eca7cb9132 bcachefs support 2023-01-04 09:57:53 +01:00
Jörg Thalheim cb5748f03a mount filesystems with the correct type flag 2022-12-29 18:54:28 +01:00
Jörg Thalheim 8b30cb1823 mdadm: add single-disk raid support 2022-12-23 17:30:25 +01:00
Jörg Thalheim 236e08da9c pin nixpkgs again 2022-12-23 17:25:47 +01:00
Jörg Thalheim 17d17217d8 use stdenvNoCC instead of barebone derivation 2022-12-09 14:34:12 +01:00
Jörg Thalheim 9e2c9d06f5 expose disko for non x86 2022-12-09 14:34:12 +01:00
Jörg Thalheim 67f991e2bc drop environment.systemPackages
Those packages are only used for installation and are not used
afterwards. system.build outputs can be used to get them in an installer
included.
2022-11-29 15:00:25 +01:00
Jörg Thalheim 6c3e0d22e4 remove dependency on bash 2022-11-29 13:08:24 +01:00
Jörg Thalheim fb771318d1 add disko output variant without package list
for netboot or kexec based installer we may want to avoid uploading too
many dependencies because the target could go out-of-memory.
2022-11-27 16:50:46 +01:00
Jörg Thalheim 6bbdafce48 zapCreateMount: stop mdraids 2022-11-25 17:36:40 +01:00
Jörg Thalheim a3bef46beb README: fold installation methods 2022-11-15 19:38:18 +01:00