Jörg Thalheim
84a5b93637
Merge pull request #928 from aos/aos/xfs-options
...
doc: simple xfs with options
2024-12-29 11:39:13 +01:00
Aos Dabbagh
7d9940a4df
doc: simple xfs with options
...
This PR documents an XFS example that uses the `xfs_quota` feature.
2024-12-28 16:43:16 -05:00
Jörg Thalheim
3a4de9fa3a
Merge pull request #924 from nix-community/vdev
...
zfs-with-vdevs: add an example for using absolute device paths
2024-12-24 14:54:06 +01:00
Jörg Thalheim
7ea6edd857
zfs-with-vdevs: add an example for using absolute device paths
...
This is the only way to assign devices rather than fixed gpt partitions.
Without reading the code it's not very obvious how disko actually
assigns devices to zpools.
2024-12-24 14:45:56 +01:00
Jörg Thalheim
2ee76c861a
Merge pull request #921 from nix-community/zfs-fix
...
zfs: run load-key on mount/unmount
2024-12-20 14:26:41 +01:00
Jörg Thalheim
d8f3cfc582
zfs: run load-key on mount
2024-12-20 14:24:53 +01:00
Jörg Thalheim
60375cf096
cli: remove traceValSeq that shouldn't be there
2024-12-20 14:24:53 +01:00
Jörg Thalheim
600d2e1d2f
Merge pull request #922 from nix-community/update_flake_lock_action
...
flake.lock: Update
2024-12-20 14:22:38 +01:00
github-actions[bot]
194a9965d1
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/71a6392e367b08525ee710a93af2e80083b5b3e2?narHash=sha256-0XovF7BYP50rTD2v4r55tR5MuBLet7q4xIz6Rgh3BBU%3D' (2024-12-13)
→ 'github:NixOS/nixpkgs/4989a246d7a390a859852baddb1013f825435cee?narHash=sha256-kMBQ5PRiFLagltK0sH%2B08aiNt3zGERC2297iB6vrvlU%3D' (2024-12-17)
2024-12-19 01:47:15 +00:00
Jörg Thalheim
a08bfe06b3
Merge pull request #920 from nix-community/update_flake_lock_action
...
flake.lock: Update
2024-12-16 11:03:32 +01:00
Jörg Thalheim
dcd15a37f7
make-disk-image fix virtiofs support
2024-12-16 09:27:07 +01:00
github-actions[bot]
d3e3aa7a14
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/bc27f0fde01ce4e1bfec1ab122d72b7380278e68?narHash=sha256-%2B5qdtgXceqhK5ZR1YbP1fAUsweBIrhL38726oIEAtDs%3D' (2024-12-09)
→ 'github:NixOS/nixpkgs/71a6392e367b08525ee710a93af2e80083b5b3e2?narHash=sha256-0XovF7BYP50rTD2v4r55tR5MuBLet7q4xIz6Rgh3BBU%3D' (2024-12-13)
2024-12-16 01:54:04 +00:00
Jörg Thalheim
d32f2d1750
release: reset released flag
2024-12-13 12:09:27 +01:00
Jörg Thalheim
65a441502c
release: v1.10.0
2024-12-13 12:09:27 +01:00
Jörg Thalheim
2097ca7a9e
Merge pull request #916 from 0x450x6c/zvol_extra_args
...
Add extraArgs to zfs_volume.
2024-12-13 12:07:58 +01:00
neox
a0c967fef4
Add extraArgs to zfs_volume.
...
Update lib/types/zfs_volume.nix
2024-12-13 11:16:40 +01:00
Jörg Thalheim
825605c2c7
Merge pull request #911 from nix-community/avoid-mv
...
make-disk-image: create directories images in out path
2024-12-13 11:16:20 +01:00
Jörg Thalheim
0f31ad735e
Merge pull request #903 from nix-community/update_flake_lock_action
...
flake.lock: Update
2024-12-12 14:46:32 +01:00
github-actions[bot]
9c74188ec6
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/8edf06bea5bcbee082df1b7369ff973b91618b8d?narHash=sha256-sQxuJm8rHY20xq6Ah%2BGwIUkF95tWjGRd1X8xF%2BPkk38%3D' (2024-11-22)
→ 'github:NixOS/nixpkgs/bc27f0fde01ce4e1bfec1ab122d72b7380278e68?narHash=sha256-%2B5qdtgXceqhK5ZR1YbP1fAUsweBIrhL38726oIEAtDs%3D' (2024-12-09)
2024-12-12 01:50:06 +00:00
Jörg Thalheim
22cd4b7e49
check for db.sqlite rather than /nix/store
...
since we initialize the database last, it's safe to use the database as
a sentinel path
2024-12-05 13:05:22 +01:00
Jörg Thalheim
98894c8598
make-disk-image: create directories images in out path
...
In case we are crossing some filesystem boundary (i.e. /tmp -> /nix/store),
this is faster. Also tmpfs might be probelemantic regarding memory usage.
2024-12-05 13:05:22 +01:00
Paul Haerle
785c1e02c7
Merge pull request #909 from nix-community/remove-lib-mdDoc
...
tree-wide: Remove all uses of lib.mdDoc
2024-12-02 20:48:22 +01:00
Felix Uhl
67a130b984
tree-wide: Remove all uses of lib.mdDoc
...
This was deprecated in 24.05 already, and removed in 24.11.
2024-12-02 20:28:17 +01:00
Paul Haerle
2814a5224a
Merge pull request #907 from nix-community/stop-overwriting-saved-env
...
disk-image: Fix compatibility with nixpkgs unstable
2024-11-30 18:34:36 +01:00
Felix Uhl
3faa300212
disk-image: Fix compatibility with nixpkgs unstable
...
Fixes #900
This was caused by https://github.com/NixOS/nixpkgs/pull/354535
originally. The breaking changes introduced there have been resolved by
https://github.com/NixOS/nixpkgs/pull/360413 , but one addition survived,
which was the line `source $stdenv/setup`.
Because we used `>` instead of `>>`, `saved-env` was overwritten, so
even with the second PR, the script failed with the following error:
/nix/store/pw...ykc-vm-run-stage2: line 16: stdenv: unbound variable
Once this and the second PR mentioned above are merged, #903 will be
unblocked.
2024-11-30 17:36:29 +01:00
Jörg Thalheim
b71e3faca9
Merge pull request #906 from nix-community/fix-904
...
make-disk-image: Compare against correct nixpkgs version
2024-11-29 23:29:22 +01:00
Felix Uhl
5655a13ac9
make-disk-image: Compare against correct nixpkgs version
...
It seems that there is a difference between how `pkgs` and `lib` get
passed to NixOS modules: `pkgs` is the unmodified original, `lib` is the
final version after overrides etc.
This causes `pkgs.lib.version` to be `24.11git` in some cases, while
`lib.version` is `24.11.20241123.0c58267`.
Maybe this can be fixed in nixpkgs? Either way, this change fixes that
issue.
Fixes #904
2024-11-29 19:38:31 +01:00
Jörg Thalheim
a75ba3b87b
Merge pull request #891 from nix-community/verity
...
Add declarative unmount
2024-11-29 16:39:43 +01:00
Jörg Thalheim
aa006252c8
add unmount feature
2024-11-29 14:44:15 +01:00
Jörg Thalheim
341482e2f4
Merge pull request #901 from samularity/patch-1
...
fix new logo in quickstart.md
2024-11-27 22:26:18 +01:00
samularity
ff6e596353
fix new logo in quickstart.md
2024-11-27 22:20:52 +01:00
lassulus
869ba3a874
Merge pull request #898 from nix-community/bootcmd-default
...
module: add default for tests.bootCommand
2024-11-26 19:30:28 +01:00
lassulus
255e11e831
module: add default for tests.bootCommand
2024-11-26 18:21:37 +01:00
Jörg Thalheim
2ed5e30fc7
Merge pull request #896 from nix-community/update_flake_lock_action
...
flake.lock: Update
2024-11-25 14:09:23 +01:00
Jörg Thalheim
f35ae6300f
Merge pull request #897 from nbdd0121/gpt-unformatted
...
Fix evaluation when a GPT partition is left unformatted
2024-11-25 14:09:07 +01:00
Gary Guo
3e83c11038
Fix evaluation when a GPT partition is left unformatted
2024-11-25 02:10:48 +00:00
github-actions[bot]
8d80e4e8fc
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/5083ec887760adfe12af64830a66807423a859a7?narHash=sha256-D1FNZ70NmQEwNxpSSdTXCSklBH1z2isPR84J6DQrJGs%3D' (2024-11-18)
→ 'github:NixOS/nixpkgs/8edf06bea5bcbee082df1b7369ff973b91618b8d?narHash=sha256-sQxuJm8rHY20xq6Ah%2BGwIUkF95tWjGRd1X8xF%2BPkk38%3D' (2024-11-22)
2024-11-25 01:48:25 +00:00
Jörg Thalheim
47bc8dfb6f
Merge pull request #895 from nix-community/fix-mountoptions
...
also passthrough rootfs mountoptions
2024-11-24 22:11:48 +01:00
Jörg Thalheim
0433c7e883
also passthrough rootfs mountoptions
2024-11-24 18:39:57 +01:00
Jörg Thalheim
abc8baff33
Merge pull request #890 from nix-community/disko-install
...
disko-install: dry-run improvements
2024-11-22 15:10:44 +01:00
Jörg Thalheim
84dd8eea9a
Merge pull request #892 from zimbatm/nix-2.3-compat
...
fix: restore nix 2.3 compatibility
2024-11-22 12:52:18 +01:00
Jörg Thalheim
fd3e326e9a
disable swap in disko-install
...
Update disko-install
Co-authored-by: Michael Hoang <Enzime@users.noreply.github.com >
2024-11-22 12:45:57 +01:00
zimbatm
3a8a8713bf
fix: restore nix 2.3 compatibility
...
Apparently nix 2.3 didn't support path interpolations.
2024-11-22 09:17:20 +01:00
Jörg Thalheim
97c0c4d707
Merge pull request #888 from nix-community/update_flake_lock_action
...
flake.lock: Update
2024-11-21 21:36:44 +01:00
Jörg Thalheim
eb1bb9fe27
disko-install: allow to override mountpoints and don't manage them in dry-run
2024-11-21 14:11:02 +01:00
Jörg Thalheim
4cbd22d868
allow to run dry-run without using root
2024-11-21 12:30:14 +01:00
github-actions[bot]
0e5eb607f0
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/c69a9bffbecde46b4b939465422ddc59493d3e4d?narHash=sha256-ddcX4lQL0X05AYkrkV2LMFgGdRvgap7Ho8kgon3iWZk%3D' (2024-11-16)
→ 'github:NixOS/nixpkgs/5083ec887760adfe12af64830a66807423a859a7?narHash=sha256-D1FNZ70NmQEwNxpSSdTXCSklBH1z2isPR84J6DQrJGs%3D' (2024-11-18)
2024-11-21 01:45:29 +00:00
Jörg Thalheim
a0c384e0a3
Merge pull request #883 from MaienM/feature/zfs-vdev-types
...
ZFS: Add log, spare & dedup vdev types, support multiple special vdevs, fix bug with mixed vdev types
2024-11-20 14:27:12 +01:00
mergify[bot]
811fb748fd
Merge branch 'master' into feature/zfs-vdev-types
2024-11-20 06:20:04 +00:00
Andrew Marshall
c3b83db725
module: Expose tests.enableOCR
...
Given we now have tests.bootCommands, in some cases the test script
given will need OCR enabled.
2024-11-20 07:19:25 +01:00