Compare commits

..

1 Commits

Author SHA1 Message Date
Hektor Misplon e161df5cc8 Add 'networking.hostId' (required for ZFS) 2025-10-05 00:00:48 +02:00
3 changed files with 2 additions and 11 deletions

View File

@ -1,9 +1,3 @@
# nixos
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
```
My NixOS config

View File

@ -18,10 +18,6 @@
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";

View File

@ -1,6 +1,7 @@
{ ... }:
{
networking.hostId = "25698a58";
networking.hostName = "nixos";
networking.wireless = { iwd = { enable = true; }; };
networking.firewall = {