forked from hinterland/hearth
fix: hardware: some
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
'';
|
||||
Reference in New Issue
Block a user