feat(hosts): add PineTab2 config

This commit is contained in:
2026-03-26 22:30:44 +01:00
parent 673b32c33b
commit 808e2ce408
24 changed files with 359 additions and 141 deletions

View File

@@ -51,12 +51,20 @@ in {
default = null;
};
};
wifi.disablePowersave = mkEnableOption ''
Disables powersave for Wifi.
Used mainly for the PineTab2, as leaving WiFi powersave with the bes2600 can cause stability issues.
'';
};
config.networking = {
hostName = cfg.hostname; # Define your hostname.
hostId = cfg.id;
networkmanager.enable = true;
networkmanager = {
enable = true;
wifi.powersave = ! cfg.wifi.disablePowersave;
};
inherit (cfg) hostFiles domain;
firewall = {
enable = true;