Jörg Thalheim
b2c95fb68f
make devshell usuable on macOS
2025-04-01 15:42:50 +00:00
Jörg Thalheim
0d8c6ad4a4
Merge pull request #990 from meck/fix_cache_miss
...
Set `buildPlatform` in make-disk-image
2025-03-12 14:31:55 +01:00
Jörg Thalheim
0c8f1b9eab
Merge pull request #977 from nix-community/update_flake_lock_action
...
flake.lock: Update
2025-03-12 14:13:09 +01:00
Jörg Thalheim
46b9f51eb6
Merge pull request #993 from nix-community/disk-deactivate-fix
...
Disk deactivate fix
2025-03-12 13:36:50 +01:00
Jörg Thalheim
eea057603d
fix syntax of disk-deactivate.jq
2025-03-12 13:19:46 +01:00
meck
9a7ab516cf
Set buildPlatform in make-disk-image
...
Currently if building an image using cross compilation:
nixpkgs = {
config.allowUnsupportedSystem = true;
hostPlatform = "armv7l-linux";
buildPlatform = "x86_64-linux";
};
And resetting the Disko packages for binFmt use:
disko.imageBuilder =
let
diskoPkgs = nixpkgs.legacyPackages."x86_64-linux";
in
{
enableBinfmt = true;
pkgs = diskoPkgs;
kernelPackages = diskoPkgs.linuxPackages_latest;
};
Something will differ between host/build Platform in diskoPkgs (Not sure
what, they look the same when tracing but there is functions that maybe
differ) causing it to miss the nixpkgs cache and rebuilding for x86_64-linux.
Also resettings buildPlatform fixes this.
2025-03-12 08:35:27 +01:00
Jörg Thalheim
87d86e499c
fix eval for make-disk-image test
2025-03-11 10:11:35 +01:00
Dennis Værum
2db1d64fc0
Added example for swap on zfs_volume
...
I could not find an example of how to enable swap on a `zfs_volume` but since I made it work I wanted to share it 😁
2025-03-11 09:06:40 +00:00
Jörg Thalheim
6c1b834456
also deactivate swap partitions
2025-03-11 09:06:40 +00:00
dependabot[bot]
8d6dd03a1c
build(deps): bump cachix/install-nix-action from 30 to 31
...
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action ) from 30 to 31.
- [Release notes](https://github.com/cachix/install-nix-action/releases )
- [Commits](https://github.com/cachix/install-nix-action/compare/v30...v31 )
---
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 >
2025-03-11 07:06:38 +00:00
github-actions[bot]
23f112ad4e
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/9a5db3142ce450045840cc8d832b13b8a2018e0c?narHash=sha256-pUvLijVGARw4u793APze3j6mU1Zwdtz7hGkGGkD87qw%3D' (2025-01-29)
→ 'github:NixOS/nixpkgs/ed0b1881565c1ffef490c10d663d4f542031dad3?narHash=sha256-y2hByvBM03s9T2fpeLjW6iprbxnhV9mJMmSwCHc41ZQ%3D' (2025-03-08)
2025-03-10 01:22:43 +00:00
rszyma
19c1140419
fix schellcheck warning failing build
2025-02-25 12:19:28 +00:00
Anton Mosich
15dbf8cebd
docs: fix typo
2025-02-18 01:25:49 +00:00
Jörg Thalheim
af4a580628
docs/disko-images: fix codeblocks
2025-02-17 11:30:27 +00:00
danjujan
dc4687a53d
docs: disko-images: add binfmt section
2025-02-17 11:30:27 +00:00
DavHau
be1e4321c9
tests/disko-install: make faster by optimizing closure size
2025-02-17 02:51:54 +00:00
lassulus
fa5746ecea
types disk: fix deviceOrdering
2025-02-15 15:53:51 +00:00
Brian Li
eb0e21b33b
Fix typos
2025-02-15 15:32:17 +00:00
DavHau
7dcd5cda34
add .git-blame-ignore-revs
2025-02-15 10:08:56 +00:00
DavHau
ff2d853a84
treewide: format all files
2025-02-15 10:08:56 +00:00
DavHau
c23ac2891c
setup treefmt
2025-02-15 10:08:56 +00:00
DavHau and lassulus
5d6c85c1d0
Update tests/zfs-encrypted-root.nix
...
Co-authored-by: lassulus <github@lassul.us >
2025-02-15 05:51:50 +00:00
DavHau
d478e2f9f3
zfs: add example for encrypted root
2025-02-15 05:51:50 +00:00
Jörg Thalheim
4edb87a2ac
test explicit gpt uuid optoin
2025-02-15 01:27:47 +00:00
Rua
a825e29a3b
Use regex for UUID, adjust documentation a bit
2025-02-15 01:27:47 +00:00
Rua
bf440582c4
Use concatMapStrings
2025-02-15 01:27:47 +00:00
Rua
54be8abff0
Add configration option for partition UUIDs
2025-02-15 01:27:47 +00:00
danjujan
e51159153b
make-disk-image: format natively
2025-02-14 10:39:29 +00:00
Sávio
6438340415
make-disk-image: add binfmt emulation
2025-02-14 10:39:29 +00:00
lassulus
85942f35d3
Revert "Fix: Device dependencies not sorting correctly"
...
This reverts commit 40da43e8e5 .
2025-02-14 07:40:53 +00:00
Kyle Petryszak
40da43e8e5
Fix: Device dependencies not sorting correctly
2025-02-14 07:22:23 +00:00
github-actions[bot]
4b841b9c3a
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/5d3221fd57cc442a1a522a15eb5f58230f45a304?narHash=sha256-H%2BFXIKj//kmFHTTW4DFeOjR7F1z2/3eb2iwN6Me4YZk%3D' (2025-01-26)
→ 'github:NixOS/nixpkgs/9a5db3142ce450045840cc8d832b13b8a2018e0c?narHash=sha256-pUvLijVGARw4u793APze3j6mU1Zwdtz7hGkGGkD87qw%3D' (2025-01-29)
2025-02-14 06:30:55 +00:00
Sávio
fa88901f1e
make-disk-image: fix virtiofs
2025-02-14 06:27:20 +00:00
Sávio
9503f225a4
make-disk-image: fix build environment variables
2025-02-14 06:27:20 +00:00
lassulus
26ade10051
lib: fix recursiveUpdate not merging lists
2025-02-12 10:45:46 +01:00
nhnn
ff3568858c
style: make it prettier
2025-02-05 17:19:22 +03:00
nhnn
68ef26bb78
fix: use zfs kernel module which corresponds to user-space tools
2025-02-05 15:20:10 +03:00
github-actions[bot]
18d0a984cc
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/8c9fd3e564728e90829ee7dbac6edc972971cd0f?narHash=sha256-CHd7yhaDigUuJyDeX0SADbTM9FXfiWaeNyY34FL1wQU%3D' (2025-01-07)
→ 'github:NixOS/nixpkgs/5d3221fd57cc442a1a522a15eb5f58230f45a304?narHash=sha256-H%2BFXIKj//kmFHTTW4DFeOjR7F1z2/3eb2iwN6Me4YZk%3D' (2025-01-26)
2025-01-29 10:53:55 +00:00
Jörg Thalheim
bf0abfde48
Merge pull request #941 from LogicalOverflow/master
...
fix eval of `zfs_volume`'s `_unmount` if `content` is `null`
2025-01-16 15:34:23 +01:00
Leonie Marcy Vack
c53bfaa13a
zfs_volume: fix eval of _unmount if content is null
2025-01-16 14:46:04 +01:00
Leonie Marcy Vack
1ae7c794d9
zfs_volume: add zfs_volume without content to zfs example
2025-01-16 14:45:30 +01:00
lassulus
f720e64ec3
Merge pull request #938 from bittner/patch-1
...
Fix minor typo
2025-01-12 20:50:25 +01:00
Peter Bittner
f275b06323
Fix minor typo
2025-01-12 20:29:17 +01:00
Jörg Thalheim
33827d2bd1
Merge pull request #923 from whs-dot-hk/fix-typo
...
Fix typo
2025-01-11 11:38:24 +01:00
Jörg Thalheim
79a12e659b
disko: fix postVM beeing empty
2025-01-11 09:56:21 +00:00
whs
ade21e2c96
Fix typo
2025-01-11 09:56:21 +00:00
lassulus
cb6297aceb
Merge pull request #936 from saviosg/savio-disko
...
make-disk-image: fix function precedence breaks customQemu
2025-01-11 10:55:30 +01:00
Sávio
fe89f379e7
make-disk-image: fix function precedence breaks customQemu
2025-01-10 20:23:13 -03:00
Jörg Thalheim
b1a94497b1
Merge pull request #935 from nix-community/install-grub-devs
...
install-cli: use disks from diskMappings arg for grub devices
2025-01-10 17:32:08 +01:00
lassulus
b64dddf61b
install-cli: use disks from diskMappings arg for grub devices
2025-01-10 17:17:54 +01:00