Jörg Thalheim
7fc7009c89
docs/disko-images: drop non-existing flag
...
fixes https://github.com/nix-community/disko/issues/664
2024-06-05 08:06:42 +00:00
Jörg Thalheim
a838e83e21
Merge pull request #662 from nix-community/dependabot/github_actions/DeterminateSystems/update-flake-lock-22
...
build(deps): bump DeterminateSystems/update-flake-lock from 21 to 22
2024-06-04 10:47:01 +02:00
dependabot[bot]
edbffbf524
build(deps): bump DeterminateSystems/update-flake-lock from 21 to 22
...
Bumps [DeterminateSystems/update-flake-lock](https://github.com/determinatesystems/update-flake-lock ) from 21 to 22.
- [Release notes](https://github.com/determinatesystems/update-flake-lock/releases )
- [Commits](https://github.com/determinatesystems/update-flake-lock/compare/v21...v22 )
---
updated-dependencies:
- dependency-name: DeterminateSystems/update-flake-lock
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-06-03 19:40:00 +00:00
Jörg Thalheim
b106b5df36
also link gpt migration guide in the manual
2024-06-03 11:58:45 +00:00
Jörg Thalheim
6de2014749
make-disk-image: make efi variables writeable
2024-06-03 11:52:20 +00:00
dependabot[bot]
27ab704b3d
---
...
updated-dependencies:
- dependency-name: cachix/install-nix-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-06-03 11:43:09 +00:00
pedohorse
c194451352
keep only origBuilder env from host
2024-06-03 11:35:13 +00:00
github-actions[bot]
39cd5a1fcd
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/4a3fc4cf736b7d2d288d7a8bf775ac8d4c0920b4' (2024-05-28)
→ 'github:NixOS/nixpkgs/6132b0f6e344ce2fe34fc051b72fb46e34f668e0' (2024-05-30)
2024-06-03 01:29:04 +00:00
Martin Weinelt
0274af4c92
Update table-to-gpt migration guide
...
- Generalize examples to be independent of ZFS
- Reduce indent of examples to focus on the relevant bits
- Add explicit migration steps, pre- and postconditions
2024-05-31 17:37:13 +00:00
lassulus
9d5c673a66
Merge pull request #655 from nix-community/gpt-migration-guide
...
add table-to-gpt migration guide
2024-05-30 21:35:13 +02:00
lassulus
a77fb7dde9
add table-to-gpt migration guide
2024-05-30 21:28:52 +02:00
github-actions[bot]
8ea5bcccc0
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/e2dd4e18cc1c7314e24154331bae07df76eb582f' (2024-05-26)
→ 'github:NixOS/nixpkgs/4a3fc4cf736b7d2d288d7a8bf775ac8d4c0920b4' (2024-05-28)
2024-05-30 01:25:06 +00:00
Jörg Thalheim
5f7bdc7205
Merge pull request #652 from nix-community/joerg-ci
...
add diskoScript.drvPath for offline installations
2024-05-29 13:49:38 +02:00
Jörg Thalheim
f321bc4723
add diskoScript.drvPath for offline installations
2024-05-29 12:37:19 +02:00
github-actions[bot]
10986091e4
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/3f316d2a50699a78afe5e77ca486ad553169061e' (2024-05-22)
→ 'github:NixOS/nixpkgs/e2dd4e18cc1c7314e24154331bae07df76eb582f' (2024-05-26)
2024-05-27 01:26:34 +00:00
github-actions[bot]
7ffc4354df
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/f9256de8281f2ccd04985ac5c30d8f69aefadbe8' (2024-05-19)
→ 'github:NixOS/nixpkgs/3f316d2a50699a78afe5e77ca486ad553169061e' (2024-05-22)
2024-05-23 02:25:28 +00:00
matthewcroughan
23c63fb093
module: fix typo pkgs -> lib
2024-05-22 16:09:32 +00:00
lassulus
d957a010f8
Merge pull request #647 from dasJ/fix/readme-nix-format
...
README: Use RFC166 formatting
2024-05-22 15:03:45 +02:00
Janne Heß
14349830ad
README: Use RFC166 formatting
2024-05-22 14:49:00 +02:00
lassulus
f1654e0772
Merge pull request #643 from MatthewCroughan/mc/ovmf
...
make-disk-image: use OVMF efi always
2024-05-21 13:38:12 +02:00
github-actions[bot]
6f01b9710b
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/b3fcfcfabd01b947a1e4f36622bbffa3985bdac6' (2024-05-15)
→ 'github:NixOS/nixpkgs/f9256de8281f2ccd04985ac5c30d8f69aefadbe8' (2024-05-19)
2024-05-20 01:25:43 +00:00
matthewcroughan
6c37763eb8
make-disk-image: use OVMF efi always
2024-05-19 23:16:38 +01:00
lassulus
601be8412d
Merge pull request #640 from MatthewCroughan/mc/extraPostVM-nixosConfig
...
make-disk-image: make extraPostVM configurable from module.nix
2024-05-19 15:52:33 +02:00
matthewcroughan
4444751300
make-disk-image: make extraPostVM configurable from module.nix
2024-05-19 14:38:05 +01:00
lassulus
5f6dbcce99
Merge pull request #635 from jmbaur/self-contained-deps
...
Add missing dependencies
2024-05-16 17:14:24 +02:00
github-actions[bot]
476eef8d85
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/af8b9db5c00f1a8e4b83578acc578ff7d823b786' (2024-05-12)
→ 'github:NixOS/nixpkgs/b3fcfcfabd01b947a1e4f36622bbffa3985bdac6' (2024-05-15)
2024-05-16 01:23:58 +00:00
Jared Baur
e9dd5abae3
Add coreutils to list of dependencies
...
This allows for the disko scripts to be ran in more foreign environments
where we can't assume the basic utilities coreutils provides are
available or aren't 1-for-1 compatible (e.g. busybox utilities).
2024-05-15 09:57:53 -07:00
Jared Baur
27c40e5381
Add missing gawk dependency
2024-05-15 09:57:25 -07:00
Florian Klink
cb1d6fba69
disko-install: only set NIX_STATE_DIR for load-db
...
We don't need to keep this env var around for the xargs invocation, only when running `nix-store --load-db`.
2024-05-15 07:07:42 +00:00
danjujan
d62af72c22
Fix xargs command not found in make-disk-image script
2024-05-14 21:38:05 +00:00
Giel van Schijndel
f236f6df36
swap: forward discardPolicy option to randomEncryption.allowDiscards
...
I.e. instead of effectively ignoring `discardPolicy` when combined with
`randomEncryption`, or adding a second option requiring the user to
repeat themselves (DRY violation), just enable both when requested via
`discardPolicy`.
Without this `discardPolicy` is a NOP when `randomEncryption` is
enabled.
2024-05-14 21:30:40 +00:00
github-actions[bot]
e972a78f4a
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/ad7efee13e0d216bf29992311536fce1d3eefbef' (2024-05-06)
→ 'github:NixOS/nixpkgs/af8b9db5c00f1a8e4b83578acc578ff7d823b786' (2024-05-12)
2024-05-13 01:33:19 +00:00
lassulus
94a818d8b9
Merge pull request #630 from fidgetingbits/patch-1
...
Fix typo in reference.md
2024-05-12 17:08:50 +02:00
Aaron Adams
fd95f40929
Fix typo in reference.md
2024-05-12 16:18:13 +08:00
lassulus
159d87ea5b
Merge pull request #623 from muggenhor/feat/swap-discard
...
swap: support swapDevices' discardPolicy and priority options
2024-05-11 18:33:55 +02:00
Jörg Thalheim
0e507d73bf
disko: allow importing disko twice
...
nixos deduplicate imports according to files.
By importing a file instead of an anonymous function,
we can import the same file multiple times without creating conflicts.
2024-05-11 16:29:00 +00:00
github-actions[bot]
8eb1b315ee
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/ee4a6e0f566fe5ec79968c57a9c2c3c25f2cf41d' (2024-05-05)
→ 'github:NixOS/nixpkgs/ad7efee13e0d216bf29992311536fce1d3eefbef' (2024-05-06)
2024-05-09 01:21:46 +00:00
lassulus
4677f6c534
Merge pull request #625 from nix-community/image-fixes
...
Fix building images when non-binary reproducible builds are present
2024-05-07 10:26:51 +02:00
Sizhe Zhao
874c83c948
fix(lib): fix typo
2024-05-07 07:34:02 +00:00
Jörg Thalheim
718565dfbb
drop dependency on xcp
...
It's actually not faster in combination with xargs...
2024-05-07 08:53:10 +02:00
Jörg Thalheim
babc1554e8
drop duplicated disko-install definition
2024-05-07 08:53:10 +02:00
Jörg Thalheim
cdefe26742
load database with checksum again but do the same in disko-install
2024-05-07 08:53:10 +02:00
Jörg Thalheim
8a4585a200
disko-images: replace nix-copy with cp
...
This hopefully fixes the large memory consumption we have seen in the
past. Also presumably coreutils cp is more tuned for performance than
whatever nix does.
2024-05-06 20:51:39 +02:00
Jörg Thalheim
4f8c8580b4
fix building images when non-binary reproducible builds are present
...
closure-info has one flaw, it's possible that this file contains stale
information when build are not reproducible and the local checksum
doesn't match what the remote build created.
The work-around here is that we disregard the hashes and re-compute with
what nar's we actually have locally instead.
2024-05-06 19:29:20 +02:00
Giel van Schijndel
c5a25d5ced
swap: support swapDevices.*.priority option
...
This just forwards to the underlying NixOS option and expands the mount
script to exhibit the same behavior.
2024-05-06 12:11:58 +02:00
Giel van Schijndel
8a02c0507c
swap: support swapDevices.*.discardPolicy option
2024-05-06 12:11:58 +02:00
github-actions[bot]
e1b3ae2b4e
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/bcd44e224fd68ce7d269b4f44d24c2220fd821e7' (2024-05-01)
→ 'github:NixOS/nixpkgs/ee4a6e0f566fe5ec79968c57a9c2c3c25f2cf41d' (2024-05-05)
2024-05-06 01:32:04 +00:00
github-actions[bot]
d57058eb09
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/1e1dc66fe68972a76679644a5577828b6a7e8be4' (2024-04-22)
→ 'github:NixOS/nixpkgs/bcd44e224fd68ce7d269b4f44d24c2220fd821e7' (2024-05-01)
2024-05-02 01:20:56 +00:00
Jörg Thalheim
5eaf747af3
README: link to disko-install and disko-images
2024-04-29 17:43:27 +02:00
Jörg Thalheim
e5b3299a14
README: link to disko-install and disko-images
2024-04-29 17:41:29 +02:00