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
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
Jörg Thalheim
39de9e8cca
move disko-images to its own chapter
2024-04-29 17:05:43 +02:00
Qubasa
2ec3549b6f
Change --system-option KEY VAL to --system-config JSON
...
Update install-cli.nix
2024-04-29 14:57:02 +00:00
Qubasa
9f5d4e45cd
nix fmt
2024-04-29 14:57:02 +00:00
Qubasa
35d4378e74
Add EF02 priority=1 flag. Systems won't boot otherwise
2024-04-29 14:57:02 +00:00
Qubasa
b3254b1038
Add --system-option flag.
2024-04-29 14:57:02 +00:00
Dennis Værum
285e26465a
Changed disko.disks
to disko.devices.disk
...
In the section `### Generating the `.raw` VM Image` in step 3.
It is written that the raw image file created is named `vdb`, but in the file [simple-efi.nix](a816daa384/example/simple-efi.nix
) the first time `vdb` is mentioned is in `disko.devices.disk` not in `disko.disks` so I assumed that the file [simple-efi.nix](a816daa384/example/simple-efi.nix
) was updated it the part about `disko.disks` is a mistake. Otherwise, I would really like to know what I am not understanding here 😁
2024-04-26 03:56:15 +00:00
Immae
a816daa384
Allow more ways to detect disk to deactivate
2024-04-25 11:17:07 +00:00
github-actions[bot]
db1150487c
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/f2d7a289c5a5ece8521dd082b81ac7e4a57c2c5c' (2024-04-21)
→ 'github:NixOS/nixpkgs/1e1dc66fe68972a76679644a5577828b6a7e8be4' (2024-04-22)
2024-04-25 01:22:03 +00:00
lassulus
dea314155a
Merge pull request #612 from bam80/patch-1
...
Update disko-install.md
2024-04-23 14:26:18 +02:00
Andrey Butirsky
515eae4a00
Update disko-install.md
...
Fixes #611
2024-04-23 15:14:37 +03:00
Jörg Thalheim
6fad976102
fix mergify configuration
2024-04-23 11:19:26 +02:00
github-actions[bot]
b8785a1c37
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/2fd19c8be2551a61c1ddc3d9f86d748f4db94f00' (2024-04-16)
→ 'github:NixOS/nixpkgs/f2d7a289c5a5ece8521dd082b81ac7e4a57c2c5c' (2024-04-21)
2024-04-22 01:30:08 +00:00
github-actions[bot]
1efd500e98
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/692ceb334b4fd60d61798dde895f6f122110f5fe' (2024-04-13)
→ 'github:NixOS/nixpkgs/2fd19c8be2551a61c1ddc3d9f86d748f4db94f00' (2024-04-16)
2024-04-18 02:19:18 +00:00
Jörg Thalheim
d51114dc1b
document offline installation
2024-04-15 18:09:54 +00:00
Jörg Thalheim
93bf2c3d26
disko-install: simplify let statements
2024-04-15 18:03:33 +00:00
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