Commit graph

49 commits

Author SHA1 Message Date
Sam Hug
a14a3fb0a8 zfs_volume: fix /dev/zvol/ symlink race 2023-09-25 08:57:40 +00:00
lassulus
9f29cedac7 rename makeDiskImage -> makeDiskImages 2023-09-18 12:16:33 +00:00
Jörg Thalheim
9ab96378f8 reformat tree 2023-09-17 04:43:25 +00:00
David Arnold
0faae8adf6 fix: avoid external probing effects from other devices 2023-09-15 20:04:52 +00:00
Rudolf Vesely
8aa6ec5ff2 Changing how to open LUKS. 2023-09-15 07:39:16 +00:00
Rudolf Vesely
91af5b4a53 Add extra args into swap. 2023-09-14 17:02:49 +00:00
lassulus
689873ae4f types *: run udevadm settle after partprobe 2023-09-13 22:07:35 +00:00
Rudolf Vesely
38daf3c84a Specify alignment for sgdisk. 2023-09-13 21:53:35 +00:00
lassulus
79785c1cfc add pkgs.parted where partprobe is needed 2023-09-12 09:45:57 +00:00
Rudolf Vesely
fc6f863fe1 Fix problem with missing part. labels. 2023-09-11 19:42:40 +00:00
DavHau
321d75becb types/zpool: use enum type for mode 2023-09-04 23:02:33 +02:00
Jörg Thalheim
9de99e174c run nix-fmt 2023-09-02 18:08:41 +02:00
Florian Engel
bf50636a65 Remove trialing newline in passwordFile 2023-08-16 15:19:21 +00:00
Florian Engel
3eb703b7bc Rename keyFile to passwordFile and dedeprecate 2023-08-16 15:19:21 +00:00
Jörg Thalheim
241c878d4b drop deprecated boot.initrd.services.swraid.enable option 2023-08-11 08:45:46 +00:00
Jörg Thalheim
b32f0e2876 apply treefmt 2023-08-11 08:45:46 +00:00
a-kenji
4015740375 fix: typos 2023-07-30 17:43:54 +00:00
lassulus
8edfd2295c fixup! types disk: add imageSize for makeDiskImage 2023-07-28 12:43:42 +00:00
lassulus
578ad4ef34 types disk: add imageSize for makeDiskImage 2023-07-28 12:43:42 +00:00
lassulus
5c5279567f types mdadm: enable swraid 2023-07-28 12:43:42 +00:00
rogarb
140edd2d01 fix(btrfs): automatic setting of fileSystems
Subvolumes without a mountpoint shouldn't be declared as fileSystems.
2023-07-27 08:55:04 +00:00
rogarb
818207b99b fix(btrfs): add warning for subvolume mounts 2023-07-27 08:55:04 +00:00
rogarb
4f1cc11c51 fix(btrfs): subvolume mount behaviour
Since subvolumes appear automatically when their parent is mounted, no
action is required until the user wants them to be mounted somewhere
else.
This allows access to the volume manager capabilities of BTRFS.
2023-07-27 08:55:04 +00:00
Jared Baur
5b19fb2e74 Fix msdos partition table creation
The partition fs-type was specified twice on partition creation when the
msdos partition table type is used. Fix this to only be specified once.
2023-07-25 09:44:19 +00:00
rogarb
78eee2c7b2
fix(luks): type error with keyfile size/offset 2023-07-21 23:11:32 +02:00
lassulus
260c0023db types gpt: set grub.devices automatically 2023-07-20 18:04:41 +02:00
lassulus
774ce7df25 types disk: cleanup name 2023-07-19 19:07:40 +00:00
Sandro Jäckel
b7f3ee8e14 zpool: deduplicate root mount option 2023-07-19 19:07:40 +00:00
lassulus
9191c0ed48 types mdadm: fix typo 2023-07-19 19:07:40 +00:00
lassulus
c77e66cea1 types swap: check real path of the device before mount 2023-07-19 19:07:40 +00:00
lassulus
96815862d8 types.mdadm: zap raid after creation 2023-07-19 19:07:40 +00:00
arch
7eb0940839 add additionalKeyFiles option to luks 2023-07-14 08:51:17 +00:00
rogarb
68eb09b183 feat(luks): Add settings submodule
The settings submodule mirrors the options which can be set for
boot.initrd.luks.devices.<name>.

The keyFile option is now deprecated and should be declared under settings.
2023-07-13 09:17:50 +00:00
lassulus
86e90d0fdb types luks: pass keyFile to nixos config 2023-07-10 19:04:15 +02:00
Technofab
3200614b9f fix(swap): rename dev to config.device
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2023-07-04 21:35:38 +00:00
Technofab
57622c4a68 feat(swap): add resumeDevice option which sets boot.resumeDevice 2023-07-04 21:35:38 +00:00
lassulus
c9c2fa9d3a lib: better formatting of generated shell output 2023-07-04 16:02:25 +00:00
lassulus
5333c4034a types.gpt: add support for tables on mdadm 2023-07-04 16:02:25 +00:00
lassulus
ab9b880db2 lib.types: turn _create, _mount and _config into values 2023-07-04 16:02:25 +00:00
lassulus
64c9c78c15 types gpt: sort after priority. add size option 2023-06-17 19:07:36 +00:00
lassulus
c230584db3 types: init table_gpt 2023-06-16 21:11:44 +02:00
lassulus
62f939e213 types: pass parent node to all subTypes 2023-06-16 21:11:44 +02:00
Yan Minari
44f5dba12d feat: create zfs parent datasets 2023-06-16 13:39:12 +02:00
Felix Richter
88c99e1d39 zfs: always force creation of zpool 2023-06-16 13:39:04 +02:00
Jörg Thalheim
a8d85d9f89 apply deadnix 2023-06-06 13:32:47 +02:00
lassulus
7be0f0cab5 btrfs: create all subvolumes 2023-06-04 08:58:37 +02:00
lassulus
e634253dfc types table: remove deprecated index 2023-05-30 15:29:32 +02:00
lassulus
3dc9d4a2fa types btrfs: inline subvolumes 2023-05-30 15:29:32 +02:00
lassulus
1c31612335 lib: read types from subdir 2023-05-20 13:56:42 +02:00