fix: hardware: some

This commit is contained in:
2026-05-31 10:58:25 +00:00
parent 35de436105
commit 7d0c0370ed
2 changed files with 6 additions and 6 deletions
@@ -52,11 +52,11 @@ in {
''; '';
}; };
networkMatchConfigName = lib.mkOption { networkMatchConfigName = lib.mkOption {
type = lib.types.strMatching "^(enp1s0|ens3)$"; type = lib.types.strMatching "^(enp1s0|ens3|eth0)$";
example = "enp1s0"; example = "enp1s0";
description = '' description = ''
type of network conection, type of network conection,
on older hetzner servers may be `ens3` on older hetzner servers may be `ens3` or else
on newer probably `enp1s0` on newer probably `enp1s0`
you can use `networkctl list` on server to know it you can use `networkctl list` on server to know it
@@ -9,10 +9,10 @@
config, config,
... ...
}: let }: let
cfg = config.hectic.hardware.zombro; cfg = config.hectic.hardware.zomro;
in { in {
options.hectic.hardware.zombro = { options.hectic.hardware.zomro = {
enable = lib.mkEnableOption "Enable zombro hardware configurations"; enable = lib.mkEnableOption "Enable zomro hardware configurations";
device = lib.mkOption { device = lib.mkOption {
type = lib.types.str; type = lib.types.str;
default = "/dev/vda"; default = "/dev/vda";
@@ -20,7 +20,7 @@ in {
description = '' description = ''
boot device uuid boot device uuid
if it is null then will use "/dev/vda" 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 !! But can changes on reboot if server have volumes
!! So use IDs !! So use IDs
''; '';