Commit Graph
30 Commits
Author SHA1 Message Date
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
lassulus 417ad31ca5 types: fix negative relative disk size 2022-11-25 08:38:47 +01:00
lassulus d61fd1522b add regression test for #52 2022-11-10 09:46:55 +01:00
lassulus c5973aed4e tests: add testBoot parameter to disable boot tests 2022-11-10 09:46:06 +01:00
lassulus fec0b14fb5 add tests for module and cli 2022-11-01 20:05:10 +01:00
lassulus c777d1ca4f tests: add simple-efi 2022-10-23 12:29:13 +02:00
lassulus 8666475b74 tests: pass lib to examples 2022-10-23 11:34:39 +02:00
lassulus 9f7f23abdb add nixos tests for disko.config, extend/fix existing tests 2022-10-02 16:41:02 +02:00
Jörg Thalheim 68f950bf20 add test for standalone nixos config 2022-09-04 13:09:10 +02:00
Jörg Thalheim 65bd5a97f8 add test for lvm example 2022-09-04 12:52:19 +02:00
Jörg Thalheim fd2de4ddd4 fix gpt-bios-compat example and test it. 2022-09-04 12:27:59 +02:00
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