Commit Graph

119 Commits

Author SHA1 Message Date
lassulus
dcb0c42857 reimplement disko using the nixos type system
This should make the code cleaner, more robust and errors should be
clearer. we also changed the configuration format a bit.
2022-09-02 11:14:58 +02:00
lassulus
9bb4aec964 support zfs over legacy fs 2022-08-26 12:55:50 +02:00
Jörg Thalheim
722dde361c zfs: support for root dataset mountpoint and mountpoint=none 2022-08-26 10:29:49 +02:00
Jörg Thalheim
57b7c5506a also test zfs filesystem options 2022-08-26 09:12:40 +02:00
Jörg Thalheim
05a90d4227 tests: use mountpoint program to check for mountpoints 2022-08-26 08:51:21 +02:00
Jörg Thalheim
69f1337980 fix inconsistent indentation with nixpkgs-fmt 2022-08-26 08:41:58 +02:00
lassulus
1ac0e76b15 tests: add lib, autoimport tests 2022-08-25 23:31:05 +02:00
lassulus
81e704b638 add btrfs subvolumes 2022-08-25 23:31:05 +02:00
lassulus
dadc491330 add lvm raid 2022-08-25 23:31:05 +02:00
lassulus
0ffaac7913 run all tests on ci 2022-08-25 23:31:05 +02:00
lassulus
83fb8f661e add zfs support/test/example 2022-08-25 23:31:05 +02:00
lassulus
dd99e29edc fix cryptsetup luksOpen idempotency, add luks-lvm test 2022-08-25 15:32:09 +02:00
lassulus
1237ac36db fix mdadm mounting, move test to mdadm test 2022-08-25 15:32:09 +02:00
lassulus
88cb7a4719 add mdadm support 2022-08-24 20:15:18 +02:00
Jörg Thalheim
e123b05ff4 use findmnt and mount with X-mount.mkdir
This feels slightly cleaner and makes the code shorter.
2022-08-17 15:55:07 +02:00
Jörg Thalheim
20bfa32750 disko: get rid of impure imports
This is a backwards-incompatible change but it allows to pin nixpkgs,
which is desirable especially in professional environments where
reproduciblity is important.
2022-08-17 14:53:43 +02:00
lassulus
2fc06462ce fix: make test work with up2date nixpkgs 2022-07-10 09:41:53 +02:00
Jairo Llopis
9b53ee7b11
feat: noop partitions
Some deployments just need a raw block device because the app works better when handling those.

Examples: Ceph, Longhorn, OpenEBS.

The new `noop` type supports that. It just does nothing with the partitions created, whenever applied.

@moduon MT-904
2022-07-08 12:49:58 +01:00
lassulus
88f56a0b64 add nixos test 2018-08-05 11:45:15 +02:00