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 '';