Chris Scutcher
08435eec4b
style: Apply nixpkgs-fmt and fix
...
Apply standard formatting and some statix conventions using;
```sh
nixpkgs-fmt **.nix && statix fix .
```
With the intent of making contribution a bit easier and reducing mental
load in hand formatting (in the same vein as [black]).
[black]: https://github.com/psf/black#the-uncompromising-code-formatter
2023-02-06 14:24:34 +00:00
Jörg Thalheim
48e4c06004
split disko type into multiple files
2023-01-29 08:10:33 +01:00
lassulus
af2da574be
add support for another mountpoint than /mnt
2023-01-28 18:08:31 +01:00
lassulus
192f9cc416
scripts: append old $PATH for destroying
2022-12-24 12:13:04 +01:00
lassulus
25cc022282
disko cli: add --no-deps mode
2022-12-01 20:33:03 +01:00
lassulus
9cf4f170ae
add zapCreateMount script for idempodents install from iso/kexec
2022-11-25 17:36:40 +01:00
lassulus
f1531fb4f3
add disko cli
2022-11-01 20:05:10 +01:00
lassulus
324a8d5347
disko: add scripts with pkgs
2022-10-29 13:23:31 +02:00
lassulus
3c4cc93007
export config list in types
2022-10-23 11:36:56 +02:00
lassulus
5aa3ebcb99
types: refactor topLevel into devices, move output generators to lib
2022-10-23 11:36:56 +02:00
lassulus
271b00593f
types: add packages output
2022-10-23 11:34:39 +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
68f950bf20
add test for standalone nixos config
2022-09-04 13:09:10 +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
69f1337980
fix inconsistent indentation with nixpkgs-fmt
2022-08-26 08:41:58 +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
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
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
a252f8a57a
add default.nix
2018-09-11 20:52:12 +02:00