Anomalocaridid
f0fe8a3b4b
feat: add flake-parts module
2025-09-10 14:22:10 +02:00
Yifei Sun
c8a0e78d86
examples: gpt partition attributes
...
cherry-picked from https://github.com/nvmd/disko/commit/9dc58d4d49c9f74623a06e2fc20cdfd8bb3cbe8b
usage example:
- set attribute: https://github.com/nvmd/nixos-raspberrypi-demo/blob/2847963e7555fc412c1d0f37bb48c761e78f350d/disko-nvme-zfs.nix#L9L11
- check: https://github.com/nvmd/nixos-raspberrypi-demo/blob/2847963e7555fc412c1d0f37bb48c761e78f350d/flake.nix#L154L160
2025-09-07 14:37:19 +00:00
Sergey Kazenyuk
31fe7eda26
gpt: add partition attributes
2025-09-07 14:37:19 +00:00
Jörg Thalheim
a5c4f2ab72
make-disk-image: use modules output of a kernel if present
...
This is a hotfix that could be reverted if we get:
https://github.com/NixOS/nixpkgs/pull/439178
in.
2025-09-01 13:33:49 +00:00
Jörg Thalheim
bafad29f89
make-disk-image: also use xcp
2025-08-25 09:53:42 +00:00
Jörg Thalheim
49c1bc1b34
disko-install: switch to xcp
2025-08-25 09:53:42 +00:00
lassulus
4073ff2f48
types.luks: fix password check
2025-08-18 12:26:12 +00:00
diffy
f64ab1525b
docs: add recursive method for fetching flake input out paths
...
The previous example would not work for flakes that have inputs with inputs of their own, leading to installation failures when attempting to install without internet access
2025-08-18 06:45:23 +00:00
dependabot[bot]
8246829f2e
build(deps): bump actions/checkout from 4 to 5
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-08-12 04:04:16 +00:00
dependabot[bot]
545aba0296
build(deps): bump DeterminateSystems/update-flake-lock from 26 to 27
...
---
updated-dependencies:
- dependency-name: DeterminateSystems/update-flake-lock
dependency-version: '27'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-07-21 23:26:16 +00:00
Glen Huang
3db2f04765
allow subtype definitions to be broken up
2025-07-21 12:13:55 +00:00
github-actions[bot]
d5ad4485e6
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/9b008d60392981ad674e04016d25619281550a9d?narHash=sha256-mgFxAPLWw0Kq%2BC8P3dRrZrOYEQXOtKuYVlo9xvPntt8%3D' (2025-07-08)
→ 'github:NixOS/nixpkgs/dab3a6e781554f965bde3def0aa2fda4eb8f1708?narHash=sha256-lFNVsu/mHLq3q11MuGkMhUUoSXEdQjCHvpReaGP1S2k%3D' (2025-07-15)
2025-07-17 02:17:31 +00:00
dependabot[bot]
2bf3421f7f
build(deps): bump DeterminateSystems/update-flake-lock from 25 to 26
...
Bumps [DeterminateSystems/update-flake-lock](https://github.com/determinatesystems/update-flake-lock ) from 25 to 26.
- [Release notes](https://github.com/determinatesystems/update-flake-lock/releases )
- [Commits](https://github.com/determinatesystems/update-flake-lock/compare/v25...v26 )
---
updated-dependencies:
- dependency-name: DeterminateSystems/update-flake-lock
dependency-version: '26'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-07-15 01:07:58 +00:00
github-actions[bot]
79264292b7
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/ceb24d94c6feaa4e8737a8e2bd3cf71c3a7eaaa0?narHash=sha256-lIlUKVGCGsh0Q2EA7/6xRtKUZjaQ/ur8uUyY%2BMynHXQ%3D' (2025-07-06)
→ 'github:NixOS/nixpkgs/9b008d60392981ad674e04016d25619281550a9d?narHash=sha256-mgFxAPLWw0Kq%2BC8P3dRrZrOYEQXOtKuYVlo9xvPntt8%3D' (2025-07-08)
2025-07-10 02:13:20 +00:00
github-actions[bot]
16b74a1e30
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/d7bb1922f0bb3d0c990f56f9cdb767fdb20a5f22?narHash=sha256-sRLyRiC7TezRbbjGJwUFOgb2xMbSr3wQ0oJKfYlQ6s0%3D' (2025-06-25)
→ 'github:NixOS/nixpkgs/ceb24d94c6feaa4e8737a8e2bd3cf71c3a7eaaa0?narHash=sha256-lIlUKVGCGsh0Q2EA7/6xRtKUZjaQ/ur8uUyY%2BMynHXQ%3D' (2025-07-06)
2025-07-07 02:15:33 +00:00
midischwarz12
da6109c917
fix: flakes support on disko standalone cli
2025-07-04 05:43:36 +00:00
github-actions[bot]
83c4da299c
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/41da1e3ea8e23e094e5e3eeb1e6b830468a7399e?narHash=sha256-jp0D4vzBcRKwNZwfY4BcWHemLGUs4JrS3X9w5k/JYDA%3D' (2025-06-14)
→ 'github:NixOS/nixpkgs/d7bb1922f0bb3d0c990f56f9cdb767fdb20a5f22?narHash=sha256-sRLyRiC7TezRbbjGJwUFOgb2xMbSr3wQ0oJKfYlQ6s0%3D' (2025-06-25)
2025-06-26 02:10:43 +00:00
Scott Edlund
8fd2d6c750
make-disk-image: QEUM_OPTS -> QEMU_OPTS
2025-06-23 12:03:50 +00:00
github-actions[bot]
7f1857b315
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/08fcb0dcb59df0344652b38ea6326a2d8271baff?narHash=sha256-HXIQzULIG/MEUW2Q/Ss47oE3QrjxvpUX7gUl4Xp6lnc%3D' (2025-06-08)
→ 'github:NixOS/nixpkgs/41da1e3ea8e23e094e5e3eeb1e6b830468a7399e?narHash=sha256-jp0D4vzBcRKwNZwfY4BcWHemLGUs4JrS3X9w5k/JYDA%3D' (2025-06-14)
2025-06-16 02:13:22 +00:00
github-actions[bot]
dfa4d1b9c3
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/e4b09e47ace7d87de083786b404bf232eb6c89d8?narHash=sha256-RlTsJUvvr8ErjPBsiwrGbbHYW8XbB/oek0Gi78XdWKg%3D' (2025-06-02)
→ 'github:NixOS/nixpkgs/08fcb0dcb59df0344652b38ea6326a2d8271baff?narHash=sha256-HXIQzULIG/MEUW2Q/Ss47oE3QrjxvpUX7gUl4Xp6lnc%3D' (2025-06-08)
2025-06-09 02:31:54 +00:00
Jörg Thalheim
17d08c65c2
CONTRIBUTING.md: add documentation on how to run tests
2025-06-06 09:05:14 +00:00
Jörg Thalheim
6d06f63fc0
use fileset when building disko
...
this can save us some rebuilds in CI
2025-06-06 09:02:11 +00:00
Mitch Fossen
d74db625a5
remove quotes from --label creation for bcachefs
...
fixes device groups, for example where the disko config given looks like:
label = "fast.dev1";
after formatting, the device has a literal label of "fast.dev1" which
breaks bcachefs device groups:
echo fast > /sys/fs/bcachefs/<id>/options/foreground_target
gives the error Invalid argument, echo fast.dev1 fails as well
echo "\"fast\"" fails the same, however echo "\"fast.dev1\"" succeeds
after this, device labels and groups work as expected and any component
of the label can be used for a *_target
2025-06-05 18:16:20 +00:00
github-actions[bot]
a4f7deb49f
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/5929de975bcf4c7c8d8b5ca65c8cd9ef9e44523e?narHash=sha256-BHmgfHlCJVNisJShVaEmfDIr/Ip58i/4oFGlD1iK6lk%3D' (2025-06-01)
→ 'github:NixOS/nixpkgs/e4b09e47ace7d87de083786b404bf232eb6c89d8?narHash=sha256-RlTsJUvvr8ErjPBsiwrGbbHYW8XbB/oek0Gi78XdWKg%3D' (2025-06-02)
2025-06-05 02:05:36 +00:00
github-actions[bot]
58d6e5a83f
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/bdac72d387dca7f836f6ef1fe547755fb0e9df61?narHash=sha256-UQubDNIQ/Z42R8tPCIpY%2BBOhlxO8t8ZojwC9o2FW3c8%3D' (2025-05-25)
→ 'github:NixOS/nixpkgs/5929de975bcf4c7c8d8b5ca65c8cd9ef9e44523e?narHash=sha256-BHmgfHlCJVNisJShVaEmfDIr/Ip58i/4oFGlD1iK6lk%3D' (2025-06-01)
2025-06-02 02:47:18 +00:00
github-actions[bot]
a894f2811e
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/3fcbdcfc707e0aa42c541b7743e05820472bdaec?narHash=sha256-JBXbjJ0t6T6BbVc9iPVquQI9XSXCGQJD8c8SgnUquus%3D' (2025-05-17)
→ 'github:NixOS/nixpkgs/bdac72d387dca7f836f6ef1fe547755fb0e9df61?narHash=sha256-UQubDNIQ/Z42R8tPCIpY%2BBOhlxO8t8ZojwC9o2FW3c8%3D' (2025-05-25)
2025-05-26 02:10:55 +00:00
Jörg Thalheim
df522e787f
only use nom if we write to a terminal
2025-05-20 12:07:15 +00:00
dependabot[bot]
58e72c6ec2
build(deps): bump DeterminateSystems/update-flake-lock from 24 to 25
...
Bumps [DeterminateSystems/update-flake-lock](https://github.com/determinatesystems/update-flake-lock ) from 24 to 25.
- [Release notes](https://github.com/determinatesystems/update-flake-lock/releases )
- [Commits](https://github.com/determinatesystems/update-flake-lock/compare/v24...v25 )
---
updated-dependencies:
- dependency-name: DeterminateSystems/update-flake-lock
dependency-version: '25'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-05-20 07:01:14 +00:00
github-actions[bot]
cec44d77d9
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/eaeed9530c76ce5f1d2d8232e08bec5e26f18ec1?narHash=sha256-ByfPRQuqj%2BnhtVV0koinEpmJw0KLzNbgcgi9EF%2BNVow%3D' (2025-05-12)
→ 'github:NixOS/nixpkgs/3fcbdcfc707e0aa42c541b7743e05820472bdaec?narHash=sha256-JBXbjJ0t6T6BbVc9iPVquQI9XSXCGQJD8c8SgnUquus%3D' (2025-05-17)
2025-05-19 02:16:55 +00:00
github-actions[bot]
ec7c109a4f
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/b3582c75c7f21ce0b429898980eddbbf05c68e55?narHash=sha256-FshoQvr6Aor5SnORVvh/ZdJ1Sa2U4ZrIMwKBX5k2wu0%3D' (2025-05-07)
→ 'github:NixOS/nixpkgs/eaeed9530c76ce5f1d2d8232e08bec5e26f18ec1?narHash=sha256-ByfPRQuqj%2BnhtVV0koinEpmJw0KLzNbgcgi9EF%2BNVow%3D' (2025-05-12)
2025-05-15 02:03:50 +00:00
Matthias Beyer
490c0d6bd1
Fix typo
2025-05-14 12:38:36 +00:00
Jörg Thalheim
85555d27de
remove broken flakestry github action
...
This has been throwing http 500 for a while.
2025-05-08 18:33:44 +00:00
Jörg Thalheim
6ca7c94d6a
create-release: indent version.nix according to nixfmt
2025-05-08 18:33:44 +00:00
Jörg Thalheim
14afb10129
release: reset released flag
2025-05-08 18:21:21 +00:00
Jörg Thalheim
a956a7c255
release: v1.12.0
2025-05-08 18:21:21 +00:00
Jörg Thalheim
6bb82b77ce
luks: drop unnecessary subshell
2025-05-08 09:13:14 +00:00
Philipp Schmitt
06fb9283ca
Unlock luks devices once and only once
2025-05-08 09:13:14 +00:00
Philipp Schmitt
69265ccde5
Fix _destroy
2025-05-08 09:13:14 +00:00
Philipp Schmitt
cbc1f418d0
Improve luks device detection
2025-05-08 09:13:14 +00:00
Philipp Schmitt
aa5d53aee8
Add disk.destroy option
2025-05-08 09:13:14 +00:00
Jörg Thalheim
c7e0b00007
diskoImagesScript: unset NIX_REMOTE
...
for some reason this is set and breaks running disko outside of the vm
2025-05-08 09:07:26 +00:00
Jörg Thalheim
aba0ae38df
fix evaluation of disko-images example
2025-05-08 09:07:26 +00:00
Jörg Thalheim
b5cfd59e9a
fix documentation on booting disko inside a VM
...
fixes https://github.com/nix-community/disko/issues/1018
2025-05-08 09:07:26 +00:00
github-actions[bot]
c4fe2d108b
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/f21e4546e3ede7ae34d12a84602a22246b31f7e0?narHash=sha256-thYTdWqCRipwPRxWiTiH1vusLuAy0okjOyzRx4hLWh4%3D' (2025-05-03)
→ 'github:NixOS/nixpkgs/b3582c75c7f21ce0b429898980eddbbf05c68e55?narHash=sha256-FshoQvr6Aor5SnORVvh/ZdJ1Sa2U4ZrIMwKBX5k2wu0%3D' (2025-05-07)
2025-05-08 02:09:15 +00:00
nothingnesses
78d6a1365c
Use a hard-coded UUID for the failing example to get it to work
2025-05-07 17:27:41 +00:00
Kyle Petryszak
8d78963819
fix: addresses: https://github.com/koverstreet/bcachefs/issues/812
2025-05-07 17:27:41 +00:00
github-actions[bot]
b5d1320ebc
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/ebe4301cbd8f81c4f8d3244b3632338bbeb6d49c?narHash=sha256-5RJTdUHDmj12Qsv7XOhuospjAjATNiTMElplWnJE9Hs%3D' (2025-04-17)
→ 'github:NixOS/nixpkgs/f21e4546e3ede7ae34d12a84602a22246b31f7e0?narHash=sha256-thYTdWqCRipwPRxWiTiH1vusLuAy0okjOyzRx4hLWh4%3D' (2025-05-03)
2025-05-05 02:11:54 +00:00
nothingnesses
7b63642358
Make bcachefs subvolumes boot-time mount tests pass + more tests
2025-05-04 20:24:55 +00:00
Torsten Curdt
d0c543d740
[fix] added missing single quote in script
2025-04-28 03:50:20 +00:00
nothingnesses
ca27b88c88
Add bcachefs type with encryption and multi-disk support
...
This update introduces a bcachefs type with encryption support and advanced formatting options.
It includes a new example (`examples/bcachefs-multi-disk.nix`) to demonstrate multi-disk setups and available options.
Key changes:
- Deterministic UUID generation.
- Addressed limitations with multi-disk root setups due to bcachefs and systemd issues.
- Provided a systemd-mount alternative for fileSystems configuration.
- Added subvolume support and updated scripts for clarity and functionality.
---------
Co-authored-by: Jonas Heinrich <onny@project-insanity.org >
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com >
Co-authored-by: Kyle Petryszak <6314611+ProjectInitiative@users.noreply.github.com >
Update
* Add examples
* Improve descriptions
Remove debugging
Remove comment
Use `unique` to dedup lists
2025-04-24 13:41:42 +00:00