]> git.immae.eu Git - perso/Immae/Config/Nix.git/blobdiff - modules/private/system/eldiron.nix
Prepare migration to ZFS
[perso/Immae/Config/Nix.git] / modules / private / system / eldiron.nix
index 6ccaea5797f19cde9965856219dd2466811ae726..b3bda5353056ac0febe39aa07639b77a5989c2f9 100644 (file)
@@ -1,10 +1,12 @@
 { privateFiles }:
 { config, pkgs, ... }:
 {
+  boot.supportedFilesystems = [ "zfs" ];
   boot.kernelPackages = pkgs.linuxPackages_latest;
   myEnv = import "${privateFiles}/environment.nix" // { inherit privateFiles; };
 
   networking = {
+    hostId = "8262ca33"; # generated with head -c4 /dev/urandom | od -A none -t x4
     firewall.enable = true;
     # 176.9.151.89 declared in nixops -> infra / tools
     interfaces."eth0".ipv4.addresses = pkgs.lib.attrsets.mapAttrsToList