perpare pepe

This commit is contained in:
Ingolf Wagner 2021-04-25 09:51:23 +02:00
parent 95cc69d3c9
commit a42f26d4d1
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
3 changed files with 11 additions and 1 deletions

View file

@ -34,6 +34,11 @@
#configurationFile = <secrets/wpa_supplicant>;
#};
configuration.init-ssh = {
enable = "prepare";
kernelModules = [ "e1000e" ];
};
# just enable lan
networking.dhcpcd.allowInterfaces = [ "enp0s25" ];

View file

@ -243,6 +243,7 @@ in {
services.home-assistant = {
enable = true;
package = unstablePkgs.home-assistant;
#package = unstablePkgs.home-assistant.override {
# python3 = unstablePkgs.python37;
# extraPackages = python: [

View file

@ -15,7 +15,11 @@ in {
type = with types; enum [ "disable" "prepare" "enabled" ];
};
kernelModules = mkOption { type = with types; listOf str; };
kernelModules = mkOption {
type = with types; listOf str;
descriptin =
"lspci -v will tell you which kernel module is used for the ethernet interface";
};
port = mkOption {
default = 23;