lassulus
aa433abf67
remove legacy ci.nix
2023-07-28 14:29:03 +02:00
Lassulus
4aa3641e27
Merge pull request #305 from tiredofit/luks_btrfs_example
...
Create luks-btrfs-subvolumes.nix
2023-07-27 18:05:55 +02:00
Dave Conroy
d306d84fb0
Add test for examples/luks-btrfs-subvolumes.nix
2023-07-27 07:21:07 -07:00
rogarb
730353966b
tests(btrfs): update to fit new behaviour
2023-07-27 08:55:04 +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
ada1a01892
docs/upgrade-guide.md: BTRFS subvolume changes
...
The upgrade guide is updated to reflect the changes introduced in commit
7f3b98f
.
2023-07-27 08:55:04 +00:00
rogarb
f44564a744
fix(btrfs): update BTRFS example
...
This takes into account the fix from commit 7f3b98f
.
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
Dave Conroy
6277e8ed99
Create luks-btrfs-subvolumes.nix
...
Add example for BTRFS Subvolumes inside a LUKS container
2023-07-26 18:02:33 -07: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
Lassulus
713eb78002
Merge pull request #302 from rogarb/luks-settings-test
2023-07-23 23:34:32 +02:00
rogarb
66b762d3ac
docs(luks): add an example using keyFile options
2023-07-23 22:26:23 +02:00
Lassulus
7b186e0f81
Merge pull request #301 from rogarb/luks-fix
...
fix(luks): type error with keyfile size/offset
2023-07-22 00:16:18 +02:00
rogarb
78eee2c7b2
fix(luks): type error with keyfile size/offset
2023-07-21 23:11:32 +02:00
Jörg Thalheim
f2248036d2
Merge pull request #299 from nix-community/module-tests
...
allow using the disko test framework via the module
2023-07-21 13:37:39 +01:00
lassulus
c3e4e625c1
examples; document EF02 type
2023-07-21 14:28:58 +02:00
lassulus
7a37b47634
lib makeDiskoTest: create -> format
2023-07-21 14:25:51 +02:00
lassulus
737a21794c
lib makeDiskoTest: set networking.hostId to non null value
2023-07-20 21:51:54 +02:00
lassulus
1ddcff717c
module: pass makeTest and eval-config to diskoLib
2023-07-20 21:32:53 +02:00
lassulus
2800cf502a
tests cli: use direct mode
2023-07-20 19:17:11 +02:00
lassulus
2b728ffe02
libTests prepareDisks: set grub.devices to nodev if empty
2023-07-20 19:03:26 +02:00
lassulus
7e2a3475f0
tests lvm-raid: use grub as systemd-boot is broken with raid1 /boot
2023-07-20 19:03:26 +02:00
lassulus
4fa29318f6
examples: set EF00 partition types
2023-07-20 19:03:26 +02:00
lassulus
4cad47f3fa
module: expose diskoTest via system.build
2023-07-20 18:43:30 +02:00
lassulus
bfc300b1c2
tests boot-raid1: use grub as systemd-boot is broken with raid1 /boot
2023-07-20 18:43:30 +02:00
lassulus
4df1400b38
makeDiskoTest: remove deprecated grub-devices
2023-07-20 18:31:53 +02:00
lassulus
fc98920ef5
lib makeDiskoTest: use systemd-boot if efi is enabled
2023-07-20 18:31:17 +02:00
lassulus
815d018e2f
lib makeDiskoTest: allow passing of extendModules
2023-07-20 18:30:55 +02:00
lassulus
97b09a791f
lib toplevel._scripts: set mountScriptNoDeps in correct namespace
2023-07-20 18:05:23 +02:00
lassulus
260c0023db
types gpt: set grub.devices automatically
2023-07-20 18:04:41 +02:00
lassulus
e388239311
example zfs: add ESP type
2023-07-20 18:03:59 +02:00
lassulus
774ce7df25
types disk: cleanup name
2023-07-19 19:07:40 +00:00
lassulus
5ad79f43df
add legacy-table test & example
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
480d61c3f7
lib: rename umount to destroy
2023-07-19 19:07:40 +00:00
lassulus
f0aa14154e
disko: document modes
2023-07-19 19:07:40 +00:00
lassulus
04452cfd2b
tests: refactor to not use args and to use gpt type
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
lassulus
715c211dd7
testLib.makeDiskoTest: split extraConfig into nixos-config, extraSystemConfig & extraInstallerConfig
2023-07-19 19:07:40 +00:00
lassulus
056637d3c9
move tests/lib.nix into diskoLib.testLib
2023-07-19 19:07:40 +00:00
lassulus
cd38be93db
tests: refactor into testlib; change config devices via fold
2023-07-19 19:07:40 +00:00
lassulus
f6649d69d9
cli/default: refactor to use more code from lib
2023-07-19 19:07:40 +00:00
lassulus
cdaff66b57
lib: refactor outputs into toplevel
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
github-actions[bot]
aeebdc1156
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/0d5682acc109add20f70440269587a1b169cc2fe' (2023-07-04)
→ 'github:NixOS/nixpkgs/6fd9edc94426a3c050ad589c8f033b5ca55454c7' (2023-07-12)
2023-07-13 02:01:51 +00:00
Jörg Thalheim
610e337bb2
Merge pull request #290 from nix-community/luks-keyFiles
...
types luks: pass keyFile to nixos config
2023-07-12 10:07:09 +01:00