From a42f26d4d19cb3afe58e68717b2db44b67006c0f Mon Sep 17 00:00:00 2001 From: Ingolf Wagner Date: Sun, 25 Apr 2021 09:51:23 +0200 Subject: [PATCH] perpare pepe --- configs/pepe/configuration.nix | 5 +++++ configs/pepe/home-assistant.nix | 1 + system/server/initssh.nix | 6 +++++- 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/configs/pepe/configuration.nix b/configs/pepe/configuration.nix index 5b69112..7e55d0a 100644 --- a/configs/pepe/configuration.nix +++ b/configs/pepe/configuration.nix @@ -34,6 +34,11 @@ #configurationFile = ; #}; + configuration.init-ssh = { + enable = "prepare"; + kernelModules = [ "e1000e" ]; + }; + # just enable lan networking.dhcpcd.allowInterfaces = [ "enp0s25" ]; diff --git a/configs/pepe/home-assistant.nix b/configs/pepe/home-assistant.nix index 83f8674..7d76f67 100644 --- a/configs/pepe/home-assistant.nix +++ b/configs/pepe/home-assistant.nix @@ -243,6 +243,7 @@ in { services.home-assistant = { enable = true; + package = unstablePkgs.home-assistant; #package = unstablePkgs.home-assistant.override { # python3 = unstablePkgs.python37; # extraPackages = python: [ diff --git a/system/server/initssh.nix b/system/server/initssh.nix index 5b4dbf5..67512bf 100644 --- a/system/server/initssh.nix +++ b/system/server/initssh.nix @@ -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;