Commit graph

914 commits

Author SHA1 Message Date
Jörg Thalheim
423b86a7f7 disko-install: don't copy channel
Since we use flakes, channels have no buisness.
This is consistent with nixos-anywhere.
2024-06-29 05:47:47 +00:00
Jörg Thalheim
115311bc39 zfs: try to import zpool in incremental mode
if the pool is not imported, zfs list will return a value. So to check
that the pool does not exist, we also import it.

fixes https://github.com/nix-community/disko/issues/690
2024-06-28 13:52:20 +00:00
lassulus
e8ef4773dd
Merge pull request #689 from nix-community/incremental-zfs
zfs: when dataset already exist, only update dataset options
2024-06-28 14:29:41 +02:00
Jörg Thalheim
96cab883db zfs: when dataset already exist, only update dataset options 2024-06-28 13:53:07 +02:00
github-actions[bot]
8767dbf5d7 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/9693852a2070b398ee123a329e68f0dab5526681?narHash=sha256-jHJSUH619zBQ6WdC21fFAlDxHErKVDJ5fpN0Hgx4sjs%3D' (2024-06-22)
  → 'github:NixOS/nixpkgs/b3f3c1b13fb08f3828442ee86630362e81136bbc?narHash=sha256-u%2BD%2BIOAMMl70%2BCJ9NKB%2BRMrASjInuIWMHzjLWQjPZ6c%3D' (2024-06-26)
2024-06-27 01:28:30 +00:00
Matthew_Cash
b6a1262796 lvm_vg: add lvm thinpool/thinlv support
Co-authored-by: ajs124 <git@ajs124.de>
2024-06-26 11:36:52 +00:00
lassulus
dd4d1663cc document extraRootModules better 2024-06-24 13:36:20 +00:00
github-actions[bot]
50d4d13fba flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/38d3352a65ac9d621b0cd3074d3bef27199ff78f?narHash=sha256-pmjP5ePc1jz%2BOkona3HxD7AYT0wbrCwm9bXAlj08nDM%3D' (2024-06-17)
  → 'github:NixOS/nixpkgs/9693852a2070b398ee123a329e68f0dab5526681?narHash=sha256-jHJSUH619zBQ6WdC21fFAlDxHErKVDJ5fpN0Hgx4sjs%3D' (2024-06-22)
2024-06-24 01:44:17 +00:00
github-actions[bot]
e1174d9919 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/3f84a279f1a6290ce154c5531378acc827836fbb?narHash=sha256-u1fA0DYQYdeG%2B5kDm1bOoGcHtX0rtC7qs2YA2N1X%2B%2BI%3D' (2024-06-13)
  → 'github:NixOS/nixpkgs/38d3352a65ac9d621b0cd3074d3bef27199ff78f?narHash=sha256-pmjP5ePc1jz%2BOkona3HxD7AYT0wbrCwm9bXAlj08nDM%3D' (2024-06-17)
2024-06-20 01:26:28 +00:00
name_snrl
48580409a2 also add indentation to the hooks 2024-06-19 18:46:17 +00:00
name_snrl
248f65b9c4 fix option type in mkHook 2024-06-19 18:46:17 +00:00
github-actions[bot]
8262659fc9 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/e913ae340076bbb73d9f4d3d065c2bca7caafb16?narHash=sha256-Ds1QpobBX2yoUDx9ZruqVGJ/uQPgcXoYuobBguyKEh8%3D' (2024-06-11)
  → 'github:NixOS/nixpkgs/3f84a279f1a6290ce154c5531378acc827836fbb?narHash=sha256-u1fA0DYQYdeG%2B5kDm1bOoGcHtX0rtC7qs2YA2N1X%2B%2BI%3D' (2024-06-13)
2024-06-17 01:43:45 +00:00
github-actions[bot]
832a9f2c81 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/cd18e2ae9ab8e2a0a8d715b60c91b54c0ac35ff9?narHash=sha256-c83Y9t815Wa34khrux81j8K8ET94ESmCuwORSKm2bQY%3D' (2024-06-08)
  → 'github:NixOS/nixpkgs/e913ae340076bbb73d9f4d3d065c2bca7caafb16?narHash=sha256-Ds1QpobBX2yoUDx9ZruqVGJ/uQPgcXoYuobBguyKEh8%3D' (2024-06-11)
2024-06-13 01:27:43 +00:00
Jörg Thalheim
c1cfbfad7c
Merge pull request #670 from ginkogruen/patch-1
fix(docs): fixed typo in README.md
2024-06-10 10:33:59 +02:00
Jörg Thalheim
2540cc069f
Merge branch 'master' into patch-1 2024-06-10 10:14:22 +02:00
github-actions[bot]
78beee3b7a flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/3b01abcc24846ae49957b30f4345bab4b3f1d14b?narHash=sha256-I8/plBsua4/NZ5bKgj%2Bz7/ThiWuud1YFwLsn1QQ5PgE%3D' (2024-06-04)
  → 'github:NixOS/nixpkgs/cd18e2ae9ab8e2a0a8d715b60c91b54c0ac35ff9?narHash=sha256-c83Y9t815Wa34khrux81j8K8ET94ESmCuwORSKm2bQY%3D' (2024-06-08)
2024-06-10 01:36:49 +00:00
Jörg Thalheim
1bbdb06f14 update quickstart to use templates from disko-templates 2024-06-09 06:40:59 +00:00
Jörg Thalheim
804ab2de77 treewide: reformat with nix fmt 2024-06-09 06:40:59 +00:00
Jörg Thalheim
dd378f1d58
README: link to matrix channel 2024-06-09 08:19:24 +02:00
Jörg Thalheim
69e5942c9d
README: drop numtide contributing guidelines
We don't have anything for disko yet unfortunately.
fixes https://github.com/nix-community/disko/issues/671
2024-06-09 08:15:08 +02:00
ginkogruen
3db4bf7771
fix(docs): fixed typo in README.md 2024-06-09 02:11:53 +02:00
Jörg Thalheim
398acc470f update to new nixos test api 2024-06-07 14:20:40 +00:00
github-actions[bot]
713aa3df48 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/6132b0f6e344ce2fe34fc051b72fb46e34f668e0?narHash=sha256-7R2ZvOnvd9h8fDd65p0JnB7wXfUvreox3xFdYWd1BnY%3D' (2024-05-30)
  → 'github:NixOS/nixpkgs/3b01abcc24846ae49957b30f4345bab4b3f1d14b?narHash=sha256-I8/plBsua4/NZ5bKgj%2Bz7/ThiWuud1YFwLsn1QQ5PgE%3D' (2024-06-04)
2024-06-06 01:26:12 +00:00
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