Commit Graph

100 Commits

Author SHA1 Message Date
lassulus
8666475b74 tests: pass lib to examples 2022-10-23 11:34:39 +02:00
Jörg Thalheim
c96ccd7d9f
Merge pull request #43 from nix-community/test-config
add nixos tests for disko.config
2022-10-04 11:30:22 +02:00
Lassulus
60b5f5e749
Merge pull request #46 from nix-community/add-license-1 2022-10-02 22:33:46 +02:00
Lassulus
fed4b4d5a5
Create LICENSE 2022-10-02 22:31:39 +02:00
lassulus
9f7f23abdb add nixos tests for disko.config, extend/fix existing tests 2022-10-02 16:41:02 +02:00
lassulus
a215a19759 _config: use lists to merge config via nixos' imports = 2022-10-02 13:06:59 +02:00
lassulus
fba7b03a21 types mdadm: add metadata option 2022-10-02 13:06:59 +02:00
lassulus
527a945c64 types: fix lvm_lv config device name 2022-09-30 20:06:19 +02:00
Jörg Thalheim
3a239145b6
Merge pull request #42 from nix-community/standalone
fix standalone example
2022-09-13 13:34:29 +02:00
Jörg Thalheim
386e463cfc fix standalone example 2022-09-13 13:32:28 +02:00
Lassulus
01eb26ca0c
Merge pull request #41 from nix-community/nixpkgs 2022-09-13 13:31:04 +02:00
Jörg Thalheim
46177f0b30 disko: drop dependency on pkgs
This creates less headaches when importing nixos configuration and also
fix some flake use cases.
2022-09-13 13:29:18 +02:00
Jörg Thalheim
c3da181593
Merge pull request #40 from moduon/refresh-after-partitioning
fix: mkfs randomly not detecting just partitioned device
2022-09-12 22:15:58 +02:00
Jairo Llopis
48e250464d
fix: mkfs randomly not detecting just partitioned device
@moduon MT-1248
2022-09-12 11:32:35 +01:00
Jörg Thalheim
0d3295fcff
Merge pull request #37 from nix-community/zfs
zfs: fix nixos config options
2022-09-05 16:28:42 +01:00
Jörg Thalheim
088b2a31d0 config: add zfsutil to zfs datasets as appropriate 2022-09-05 17:26:48 +02:00
Jörg Thalheim
55197cfc55 config: fix fsType for zfs 2022-09-05 17:23:17 +02:00
Jörg Thalheim
0c05616aa2
Merge pull request #36 from nix-community/nvme
fix nvme device names
2022-09-05 15:54:23 +01:00
Jörg Thalheim
11d708dc31 fix nvme device names 2022-09-05 14:34:54 +02:00
Jörg Thalheim
4d50d08e81
Merge pull request #35 from nix-community/fix-example
fix example/default.nix
2022-09-05 13:12:32 +01:00
Jörg Thalheim
380fcb3026 fix example/default.nix 2022-09-05 14:11:32 +02:00
Jörg Thalheim
c0623a47d8
Merge pull request #34 from nix-community/types
README: fix example
2022-09-04 12:16:07 +01:00
Jörg Thalheim
077e6d4f60 README: fix example 2022-09-04 13:12:43 +02:00
Jörg Thalheim
fbc08430d2
Merge pull request #31 from nix-community/types
Reimplement using types
2022-09-04 12:11:54 +01: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
3e48d1fd85 name on partition is no longer optional 2022-09-04 12:27:59 +02:00
Jörg Thalheim
fd2de4ddd4 fix gpt-bios-compat example and test it. 2022-09-04 12:27:59 +02:00
Jörg Thalheim
e0de34c07d make error message nicer if type is ommitted 2022-09-04 12:12:09 +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
Jörg Thalheim
adf901d581
Merge pull request #27 from nix-community/zfs
zfs, lvm raid, btrfs subvolumes support & some fixups
2022-08-26 14:59:28 +01: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
e4836108d5 create.filesystem: support extraArgs 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
6b0b20da18 /lib -> / 2022-08-24 22:24:33 +02:00
Lassulus
1be70de384
Merge pull request #23 from Baitinq/master 2022-08-24 20:32:36 +02:00
Baitinq
84214f3e3c
Support logical volume sizing in logical extents units
This allows us to create a lv with size 100%FREE for all the availeable
size of the VG, etc.
2022-08-24 20:27:47 +02:00
Jörg Thalheim
1b836c9724
Merge pull request #22 from nix-community/raid2
add mdadm support
2022-08-24 19:20:53 +01:00
lassulus
88cb7a4719 add mdadm support 2022-08-24 20:15:18 +02:00
Lassulus
7328d8b41e
Merge pull request #21 from Baitinq/master 2022-08-24 17:18:42 +02:00