Commit Graph

539 Commits

Author SHA1 Message Date
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
Technofab
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
github-actions[bot]
fef67a1ddc flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/7e63eed145566cca98158613f3700515b4009ce3' (2023-06-12)
  → 'github:NixOS/nixpkgs/07059ee2fa34f1598758839b9af87eae7f7ae6ea' (2023-06-25)
2023-06-26 02:46:54 +00:00
lassulus
1e7098ee04 diskoScript: add bash to PATH 2023-06-24 09:19:17 +00:00
lassulus
8e50c6da0d diskoNoDeps -> diskoScriptNoDeps 2023-06-24 09:19:17 +00:00
Paul Haerle
637d87df3f
Merge pull request #280 from nix-community/module-default
flake: expose the module as nixosModules.default
2023-06-22 13:03:12 +02:00
zimbatm
087ba202e8 flake: expose the module as nixosModules.default
If there is only one module that is getting exported, the convention is
to use that "default" value as the name.
2023-06-22 12:59:11 +02:00
Jörg Thalheim
4823509bb3 boot-raid1: switch to new gpt type 2023-06-19 00:33:16 +00:00
lassulus
64c9c78c15 types gpt: sort after priority. add size option 2023-06-17 19:07:36 +00:00
Jörg Thalheim
95c10a6c7f bcachefs: migrate to new part type 2023-06-16 20:01:12 +00:00
Jörg Thalheim
72e0068edd
Merge pull request #256 from nix-community/table_gpt
introduce new table_gpt type
2023-06-16 20:18:48 +01:00
lassulus
93632ac0ae tests: use diskoScript output 2023-06-16 21:11:44 +02:00
lassulus
aca7f18667 example simple-efi: use table_gpt 2023-06-16 21:11:44 +02:00
lassulus
c230584db3 types: init table_gpt 2023-06-16 21:11:44 +02:00