lassulus
12c7e608ed
examples: cleanup a bit
2022-12-24 12:13:04 +01:00
Lily Foster
71a30f9e74
types: pass through mountOptions to _config for all types
2022-12-23 17:43:40 +01:00
lassulus
e0ce5fb75f
examples: use default cryptsetup parameters
2022-12-04 13:31:43 +01:00
lassulus
ff7fa87600
add nodev support (for tmpfs, ramfs, nfs)
2022-12-04 12:41:46 +01:00
David Arnold
efc80d7d89
types: init swap
2022-12-02 08:09:37 +01:00
lassulus
c3a7680451
example with-lib: remove traceValSeq
2022-12-01 20:10:58 +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
c777d1ca4f
tests: add simple-efi
2022-10-23 12:29:13 +02:00
lassulus
87e93073ac
example complex: fix default value
2022-10-23 11:36:56 +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
386e463cfc
fix standalone example
2022-09-13 13:32:28 +02:00
Jörg Thalheim
380fcb3026
fix example/default.nix
2022-09-05 14:11:32 +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
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
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
fc568cf797
add flag support
2022-08-19 09:52:12 +02:00
Jörg Thalheim
c40b0dc031
fix standalone example
2022-08-19 09:47:43 +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
makefu
a16b5dfe64
add README,stand-alone example
2018-09-11 20:42:55 +02:00
lassulus
348d4f164f
lib.body.*: don't require initial (unused) state
2018-07-31 22:09:14 +02:00
lassulus
9cbf541974
lib: add mount
2018-07-31 21:47:23 +02:00
lassulus
e8f7aa94c2
add luks.extraArgs
2018-07-31 21:39:56 +02:00
lassulus
0e8c5d1e67
layout -> devices, expose body
2018-07-31 21:39:51 +02:00
lassulus
d2f8f4a6cf
rename format -> create
2018-07-24 18:53:51 +02:00
lassulus
7262439401
add top-level layout type
2018-07-19 21:52:11 +02:00
lassulus
6232ab3078
generate nixos config from definition, split into format & config
2018-07-19 21:32:10 +02:00
lassulus
ced8b1197c
lib: add disko
2018-07-17 19:39:38 +02:00
tv
6fcd7fc2c4
example: sort and remove dead code
2018-07-13 14:21:14 +02:00
tv
c47d8972ad
move disko.nix to example/ and add usage
2018-07-13 13:53:46 +02:00