Commit graph

7 commits

Author SHA1 Message Date
lassulus
af27d7917d run nix fmt 2023-05-12 17:20:14 +02:00
oddlama
b320fcd543
zpool: don't mount created datasets directly; and fix encrypted import
This is necessary to support non-legacy mounts, since
the creation order and the required mounting order can be
different in order to not shadow any datasets.

Adding -l to the import statement is necessary to allow
encrypted datasets to be mounted later using disko-mount.
2023-04-29 22:20:46 +02:00
Sandro Jäckel
e78e5b1da7
zpool: add option to mount zpool not at / 2023-04-20 23:42:18 +02:00
lassulus
7d70009c26 types: split zfs_dataset into zfs_fs & zfs_volume 2023-04-14 17:27:04 +02:00
lassulus
6da7333a76 more quotes to make shellcheck happy 2023-02-14 10:07:22 +01:00
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