Commit graph

525 commits

Author SHA1 Message Date
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
lassulus
6e01bdc086 tests: use module mode by default, export installed-system 2023-06-16 21:11:44 +02:00
lassulus
62f939e213 types: pass parent node to all subTypes 2023-06-16 21:11:44 +02:00
mergify[bot]
e0179917d8
Merge pull request #269 from nix-community/zfs-fixes
Zfs fixes
2023-06-16 11:47:23 +00:00
Jörg Thalheim
0a3d694a39 mergify: switch to rebase 2023-06-16 13:40:42 +02:00
mergify[bot]
7fe8db8ba4
Merge branch 'master' into zfs-fixes 2023-06-16 11:40:04 +00:00
Yan Minari
44f5dba12d feat: create zfs parent datasets 2023-06-16 13:39:12 +02:00
Felix Richter
88c99e1d39 zfs: always force creation of zpool 2023-06-16 13:39:04 +02:00
mergify[bot]
fa4ec0bd26
Merge pull request #263 from nix-community/update_flake_lock_action
flake.lock: Update
2023-06-15 01:54:12 +00:00
github-actions[bot]
8cd3a95c06 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/2e56a850786211972d99d2bb39665a9b5a1801d6' (2023-06-04)
  → 'github:NixOS/nixpkgs/7e63eed145566cca98158613f3700515b4009ce3' (2023-06-12)
2023-06-15 01:39:23 +00: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
bors[bot]
5d9f362aec
Merge #259
259: linux-testing-bcachefs: 6.3.0-2023-05-02 -> 6.3.0-2023-05-21 r=Mic92 a=Mic92



Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
2023-06-08 11:05:54 +00: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