Commit Graph
551 Commits
Author SHA1 Message Date
lassulus 1ddcff717c module: pass makeTest and eval-config to diskoLib 2023-07-20 21:32:53 +02:00
lassulus 2800cf502a tests cli: use direct mode 2023-07-20 19:17:11 +02:00
lassulus 2b728ffe02 libTests prepareDisks: set grub.devices to nodev if empty 2023-07-20 19:03:26 +02:00
lassulus 7e2a3475f0 tests lvm-raid: use grub as systemd-boot is broken with raid1 /boot 2023-07-20 19:03:26 +02:00
lassulus 4fa29318f6 examples: set EF00 partition types 2023-07-20 19:03:26 +02:00
lassulus 4cad47f3fa module: expose diskoTest via system.build 2023-07-20 18:43:30 +02:00
lassulus bfc300b1c2 tests boot-raid1: use grub as systemd-boot is broken with raid1 /boot 2023-07-20 18:43:30 +02:00
lassulus 4df1400b38 makeDiskoTest: remove deprecated grub-devices 2023-07-20 18:31:53 +02:00
lassulus fc98920ef5 lib makeDiskoTest: use systemd-boot if efi is enabled 2023-07-20 18:31:17 +02:00
lassulus 815d018e2f lib makeDiskoTest: allow passing of extendModules 2023-07-20 18:30:55 +02:00
lassulus 97b09a791f lib toplevel._scripts: set mountScriptNoDeps in correct namespace 2023-07-20 18:05:23 +02:00
lassulus 260c0023db types gpt: set grub.devices automatically 2023-07-20 18:04:41 +02:00
lassulus e388239311 example zfs: add ESP type 2023-07-20 18:03:59 +02:00
lassulus 774ce7df25 types disk: cleanup name 2023-07-19 19:07:40 +00:00
lassulus 5ad79f43df add legacy-table test & example 2023-07-19 19:07:40 +00:00
Sandro Jäckel b7f3ee8e14 zpool: deduplicate root mount option 2023-07-19 19:07:40 +00:00
lassulus 9191c0ed48 types mdadm: fix typo 2023-07-19 19:07:40 +00:00
lassulus 480d61c3f7 lib: rename umount to destroy 2023-07-19 19:07:40 +00:00
lassulus f0aa14154e disko: document modes 2023-07-19 19:07:40 +00:00
lassulus 04452cfd2b tests: refactor to not use args and to use gpt type 2023-07-19 19:07:40 +00:00
lassulus c77e66cea1 types swap: check real path of the device before mount 2023-07-19 19:07:40 +00:00
lassulus 96815862d8 types.mdadm: zap raid after creation 2023-07-19 19:07:40 +00:00
lassulus 715c211dd7 testLib.makeDiskoTest: split extraConfig into nixos-config, extraSystemConfig & extraInstallerConfig 2023-07-19 19:07:40 +00:00
lassulus 056637d3c9 move tests/lib.nix into diskoLib.testLib 2023-07-19 19:07:40 +00:00
lassulus cd38be93db tests: refactor into testlib; change config devices via fold 2023-07-19 19:07:40 +00:00
lassulus f6649d69d9 cli/default: refactor to use more code from lib 2023-07-19 19:07:40 +00:00
lassulus cdaff66b57 lib: refactor outputs into toplevel 2023-07-19 19:07:40 +00:00
arch 7eb0940839 add additionalKeyFiles option to luks 2023-07-14 08:51:17 +00:00
rogarb 68eb09b183 feat(luks): Add settings submodule
The settings submodule mirrors the options which can be set for
boot.initrd.luks.devices.<name>.

The keyFile option is now deprecated and should be declared under settings.
2023-07-13 09:17:50 +00:00
github-actions[bot] aeebdc1156 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/0d5682acc109add20f70440269587a1b169cc2fe' (2023-07-04)
  → 'github:NixOS/nixpkgs/6fd9edc94426a3c050ad589c8f033b5ca55454c7' (2023-07-12)
2023-07-13 02:01:51 +00:00
Jörg Thalheim 610e337bb2 Merge pull request #290 from nix-community/luks-keyFiles
types luks: pass keyFile to nixos config
2023-07-12 10:07:09 +01:00
lassulus b6840cdf55 mergify: remove deprecated bcachefs package 2023-07-12 11:01:51 +02:00
lassulus c5a31c351e tests zfs: don't read key from prompt 2023-07-11 09:29:28 +02:00
lassulus b22ebd5ecd tests: get rid of OCR, generate keyFile in preDevice 2023-07-11 09:12:45 +02:00
lassulus 86e90d0fdb types luks: pass keyFile to nixos config 2023-07-10 19:04:15 +02:00
Jörg Thalheim fc3c3817c9 Merge pull request #283 from nix-community/update_flake_lock_action
flake.lock: Update
2023-07-05 09:09:56 +01: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
github-actions[bot] bef51f3f0e flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/07059ee2fa34f1598758839b9af87eae7f7ae6ea' (2023-06-25)
  → 'github:NixOS/nixpkgs/cd99c2b3c9f160cd004318e0697f90bbd5960825' (2023-07-01)
2023-07-05 09:48:02 +02:00
TechnofabandJörg Thalheim 3200614b9f fix(swap): rename dev to config.device
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2023-07-04 21:35:38 +00:00
Technofab 57622c4a68 feat(swap): add resumeDevice option which sets boot.resumeDevice 2023-07-04 21:35:38 +00:00
dependabot[bot] 5874372542 build(deps): bump cachix/install-nix-action from 21 to 22
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 21 to 22.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v21...v22)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-04 19:29:06 +00:00
lassulus 15c4d57b41 example gpt-bios-compat: use new gpt type 2023-07-04 16:02:25 +00:00
lassulus c9c2fa9d3a lib: better formatting of generated shell output 2023-07-04 16:02:25 +00:00
lassulus 5333c4034a types.gpt: add support for tables on mdadm 2023-07-04 16:02:25 +00:00
lassulus c52e425b02 lib: add indexOf function 2023-07-04 16:02:25 +00:00
lassulus 49888aeb90 example.btrfs_subvolumes: use new gpt type 2023-07-04 16:02:25 +00:00
lassulus ab9b880db2 lib.types: turn _create, _mount and _config into values 2023-07-04 16:02:25 +00:00
Lassulus 8002e7cb89 Merge pull request #282 from soispha/master
disko cli: fix error about impurity with nix
2023-06-28 23:02:44 +07:00
Soispha 90f24aef89 disko cli: fix error about impurity with nix
The script is generated by calling `nix-build` on the `cli.nix` file.
This fails on systems, which have the nix option pure_eval set, as nix
refuses to evaluate an untracked file. This would normally be impure,
but in this case the file is supplied in the same nix store path, i.e.
it's not referencing foreign files. Thus adding the `--impure` argument
should leave the nix call in fact still pure.
2023-06-28 17:35:27 +02:00