github-actions[bot]
bb5ba68ebb
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/d6b3ddd253c578a7ab98f8011e59990f21dc3932' (2024-04-10)
→ 'github:NixOS/nixpkgs/692ceb334b4fd60d61798dde895f6f122110f5fe' (2024-04-13)
2024-04-15 03:37:04 +00:00
Jared Baur
8d4ae698ea
Use existing bash instance when running destroyScript
...
The destroy script already has a bash interpreter in use, but when the
`disk-deactivate` script is ran, it calls out to /usr/bin/env to query
for a bash interpreter. When running the destroyScript in unique places
(such as the stage-1 initrd), /usr/bin/env might not exist, so we can
make destroyScript more self-contained by reusing the same bash.
2024-04-12 18:51:46 +00:00
github-actions[bot]
a297cb1cb0
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/807c549feabce7eddbf259dbdcec9e0600a0660d' (2024-03-29)
→ 'github:NixOS/nixpkgs/d6b3ddd253c578a7ab98f8011e59990f21dc3932' (2024-04-10)
2024-04-11 01:20:44 +00:00
lassulus
53c4cc48b7
Merge pull request #598 from 0x4A6F/master-configurable-partition-alignment
...
make partitions.alignment configurable
2024-04-10 18:17:38 +02:00
0x4A6F
07b7d662d8
make partitions.alignment configurable
2024-04-09 21:45:35 +02:00
Kira Bruneau
79eab0e82c
types btrfs: fix format without swap or subvolumes
2024-04-08 21:37:04 +00:00
lassulus
9e0bf2fe7f
Merge pull request #595 from nix-community/idempotent_gpt
...
idempotent gpt
2024-04-08 23:30:56 +02:00
lassulus
e18e85ba3f
tests/make-disk-image: increase memSize
2024-04-08 18:40:31 +02:00
lassulus
89b617b99d
idempotent gpt
2024-04-07 12:47:36 +02:00
Jared Baur
0a17298c0d
Add missing dependency gnused
...
gnused is used in the disk-deactivate.jq script, but was not defined in
the list of dependencies.
2024-04-05 22:34:38 +00:00
Jörg Thalheim
fbbac1aee6
disko-install: document --mode flag more
2024-04-05 13:54:19 +00:00
Joachim Ernst
9fd80a030b
docs: unify usage of disk-config.nix
2024-04-05 12:06:51 +00:00
Joachim Ernst
1bdd6edc15
docs: add npins to HowTo instructions
2024-04-05 12:00:04 +00:00
github-actions[bot]
611c9ea532
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/07262b18b97000d16a4bdb003418bd2fb067a932' (2024-03-25)
→ 'github:NixOS/nixpkgs/807c549feabce7eddbf259dbdcec9e0600a0660d' (2024-03-29)
2024-04-01 01:25:12 +00:00
github-actions[bot]
502241afa3
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/7872526e9c5332274ea5932a0c3270d6e4724f3b' (2024-03-19)
→ 'github:NixOS/nixpkgs/07262b18b97000d16a4bdb003418bd2fb067a932' (2024-03-25)
2024-03-28 01:18:20 +00:00
Jörg Thalheim
a6717b1afe
disko-install: check if it runs as root
2024-03-26 14:19:03 +00:00
lassulus
5d2d3e421a
Merge pull request #580 from Janik-Haag/master
...
docs: update HowTo module instructions
2024-03-24 13:21:35 +07:00
Janik H.
307365d9f9
docs: update HowTo module instructions
2024-03-24 01:27:02 +01:00
lassulus
a8c966ee11
Merge pull request #578 from nix-community/zpool_update
...
types zpool: create pool if device is a zfs_member
2024-03-21 14:28:25 +07:00
lassulus
f6f2e009d6
types zpool: create pool if device is a zfs_member
2024-03-21 05:36:42 +01:00
github-actions[bot]
1efdc66977
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/34ad8c9f29a18b4dd97a9ad40ceb16954f24afe7' (2024-03-17)
→ 'github:NixOS/nixpkgs/7872526e9c5332274ea5932a0c3270d6e4724f3b' (2024-03-19)
2024-03-21 01:19:06 +00:00
lassulus
e9875b9690
Merge pull request #574 from nix-community/table_update_fix
...
types table: fix duplicate create run
2024-03-20 10:53:12 +07:00
lassulus
b7a91b50fd
types table: fix duplicate create run
2024-03-20 03:26:36 +01:00
github-actions[bot]
c09c3a9639
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/a0906f14161a5c5792e9883117b9471f5bf6df72' (2024-03-13)
→ 'github:NixOS/nixpkgs/34ad8c9f29a18b4dd97a9ad40ceb16954f24afe7' (2024-03-17)
2024-03-18 01:19:08 +00:00
dependabot[bot]
21d89b333c
build(deps): bump cachix/install-nix-action from 25 to 26
...
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action ) from 25 to 26.
- [Release notes](https://github.com/cachix/install-nix-action/releases )
- [Commits](https://github.com/cachix/install-nix-action/compare/v25...v26 )
---
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-03-14 15:51:43 +01:00
github-actions[bot]
cc69c2340b
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/d40e866b1f98698d454dad8f592fe7616ff705a4' (2024-03-10)
→ 'github:NixOS/nixpkgs/a0906f14161a5c5792e9883117b9471f5bf6df72' (2024-03-13)
2024-03-14 01:19:15 +00:00
lassulus
59e50d4ecb
Merge pull request #568 from nix-community/idempotent-create
...
types *: make create idempotent
2024-03-13 19:22:52 +07:00
lassulus
f6b72bfed7
types *: make create idempotent
2024-03-13 09:58:33 +01:00
Jörg Thalheim
fe064a6393
use nom-build if available
...
Nicer progress bars etc
2024-03-11 16:10:06 +01:00
Jörg Thalheim
a949edef70
accept relative paths for flakes in disko/disko-install
...
builtins.getFlake wants absolute paths
2024-03-11 16:10:06 +01:00
Jörg Thalheim
5866ae41f7
disko-install: fix case where lib in NixOS is not defined
...
This seems like a recent addition that we don't have on all NixOS machines.
2024-03-11 16:10:06 +01:00
Jörg Thalheim
7d25dc74c5
docs: clarify generated image names
2024-03-11 11:27:55 +01:00
Jörg Thalheim
714768a174
docs: expand diskoImagesScript example
2024-03-11 09:40:38 +01:00
github-actions[bot]
d389901567
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/43d259f8d726113fac056e8bb17d5ac2dea3e0a8' (2024-03-05)
→ 'github:NixOS/nixpkgs/d40e866b1f98698d454dad8f592fe7616ff705a4' (2024-03-10)
2024-03-11 01:19:14 +00:00
Jörg Thalheim
72818e54ec
move disko-install into disko package
2024-03-09 07:05:35 +00:00
github-actions[bot]
a2009bc2b4
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/fa9a51752f1b5de583ad5213eb621be071806663' (2024-03-02)
→ 'github:NixOS/nixpkgs/43d259f8d726113fac056e8bb17d5ac2dea3e0a8' (2024-03-05)
2024-03-07 01:05:29 +00:00
lassulus
ad5e8bd14d
Merge pull request #559 from Ma27/fix-manual-build
...
Fix manual build
2024-03-06 06:45:52 +07:00
Maximilian Bosch
007625baaa
Fix manual build
...
The option `disko.devices.lvm_vg.<name>.lvs.<name>.priority` depends on
a different option that's unset by default breaking the manual build
like this:
… while evaluating the attribute 'optionalValue.value'
at /nix/store/lwyjz70qh12nq6cb7fixl85vryzxqm3c-source/lib/modules.nix:856:5:
855|
856| optionalValue =
| ^
857| if isDefined then { value = mergedValue; }
… while evaluating a branch condition
at /nix/store/lwyjz70qh12nq6cb7fixl85vryzxqm3c-source/lib/modules.nix:857:7:
856| optionalValue =
857| if isDefined then { value = mergedValue; }
| ^
858| else {};
(stack trace truncated; use '--show-trace' to show the full trace)
error: The option `disko.devices.lvm_vg.<name>.lvs.<name>.size' is used but not defined.
This is especially noticeable when using `documentation.nixos.includeAllModules` locally.
Fixed the issue itself by adding a `defaultText` and added the
`disko-doc` job to the `checks` output so that CI hopefully catches this
from now on.
2024-03-05 17:35:13 +01:00
Jörg Thalheim
cf185d687f
disko-install: improve error message if disk is not passed
2024-03-05 14:03:10 +00:00
Jörg Thalheim
0d11aa8d64
disko-install: add extra-files option
2024-03-05 09:52:34 +00:00
Jörg Thalheim
337abec03f
make disko-install captialize
2024-03-05 09:45:10 +00:00
Jörg Thalheim
3704ee3926
add efi var install option
2024-03-05 09:45:10 +00:00
Jörg Thalheim
f61c7d28d5
add documentation for disko-install
2024-03-05 09:45:10 +00:00
lassulus
05f0e3fd56
lib/tests: use startCommand for create_machine
2024-03-05 08:56:58 +01:00
Jörg Thalheim
0c9b003a48
bcachefs: drop zfs hack
2024-03-05 08:56:58 +01:00
lassulus
c54e7e2b2b
Merge pull request #553 from nix-community/long_device_names
...
types gpt: hash long device names
2024-03-05 07:46:52 +07:00
lassulus
6a423861cd
Merge pull request #555 from nix-community/dependabot/github_actions/DeterminateSystems/update-flake-lock-21
...
build(deps): bump DeterminateSystems/update-flake-lock from 20 to 21
2024-03-05 07:45:55 +07:00
dependabot[bot]
5c57c06779
build(deps): bump DeterminateSystems/update-flake-lock from 20 to 21
...
Bumps [DeterminateSystems/update-flake-lock](https://github.com/determinatesystems/update-flake-lock ) from 20 to 21.
- [Release notes](https://github.com/determinatesystems/update-flake-lock/releases )
- [Commits](https://github.com/determinatesystems/update-flake-lock/compare/v20...v21 )
---
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-03-04 19:50:30 +00:00
lassulus
561579a631
add long-device-name test & example
2024-03-04 14:55:56 +01:00
lassulus
56f6d3d4af
types gpt: hash label if it's > 36 characters
2024-03-04 14:55:56 +01:00