From 7d0c0370edae77b4db91a9be24964bb41554b604 Mon Sep 17 00:00:00 2001 From: yukkop Date: Sun, 31 May 2026 10:58:25 +0000 Subject: [PATCH] fix: `hardware`: some --- nixos/module/hectic/hardware/hetzner-cloud.nix | 4 ++-- nixos/module/hectic/hardware/{zombro.nix => zomro.nix} | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) rename nixos/module/hectic/hardware/{zombro.nix => zomro.nix} (89%) diff --git a/nixos/module/hectic/hardware/hetzner-cloud.nix b/nixos/module/hectic/hardware/hetzner-cloud.nix index 2d0a205e..4a82d7f9 100644 --- a/nixos/module/hectic/hardware/hetzner-cloud.nix +++ b/nixos/module/hectic/hardware/hetzner-cloud.nix @@ -52,11 +52,11 @@ in { ''; }; networkMatchConfigName = lib.mkOption { - type = lib.types.strMatching "^(enp1s0|ens3)$"; + type = lib.types.strMatching "^(enp1s0|ens3|eth0)$"; example = "enp1s0"; description = '' type of network conection, - on older hetzner servers may be `ens3` + on older hetzner servers may be `ens3` or else on newer probably `enp1s0` you can use `networkctl list` on server to know it diff --git a/nixos/module/hectic/hardware/zombro.nix b/nixos/module/hectic/hardware/zomro.nix similarity index 89% rename from nixos/module/hectic/hardware/zombro.nix rename to nixos/module/hectic/hardware/zomro.nix index a9ca30d7..a791d9ef 100644 --- a/nixos/module/hectic/hardware/zombro.nix +++ b/nixos/module/hectic/hardware/zomro.nix @@ -9,10 +9,10 @@ config, ... }: let - cfg = config.hectic.hardware.zombro; + cfg = config.hectic.hardware.zomro; in { - options.hectic.hardware.zombro = { - enable = lib.mkEnableOption "Enable zombro hardware configurations"; + options.hectic.hardware.zomro = { + enable = lib.mkEnableOption "Enable zomro hardware configurations"; device = lib.mkOption { type = lib.types.str; default = "/dev/vda"; @@ -20,7 +20,7 @@ in { description = '' boot device uuid if it is null then will use "/dev/vda" - /dev/vda - default zombro device + /dev/vda - default zomro device !! But can changes on reboot if server have volumes !! So use IDs '';