Compare commits

...

2 Commits

Author SHA1 Message Date
Hektor Misplon cbdc5a99f2 Update readme 2025-10-05 00:07:19 +02:00
Hektor Misplon 34c02e4049 Add 'networking.hostId' (required for ZFS) 2025-10-05 00:07:06 +02:00
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,9 @@
# nixos
My NixOS config
My NixOS config
```
git clone https://git.hektormisplon.xyz/hektor/nix.git
cd nix
sudo nix run 'github:nix-community/disko/latest#disko-install' -- --flake .#vm --disk root /dev/vda
```

View File

@ -18,6 +18,10 @@
nix.settings.experimental-features = [ "nix-command" "flakes" ];
# These are needed for ZFS
networking.hostId = "25698a58";
# https://discourse.nixos.org/t/zfs-with-disko-faluire-to-import-zfs-pool/61988/3
boot = {
zfs = {
devNodes = "/dev/disk/by-uuid";