perpare pepe
This commit is contained in:
parent
95cc69d3c9
commit
a42f26d4d1
3 changed files with 11 additions and 1 deletions
|
@ -34,6 +34,11 @@
|
||||||
#configurationFile = <secrets/wpa_supplicant>;
|
#configurationFile = <secrets/wpa_supplicant>;
|
||||||
#};
|
#};
|
||||||
|
|
||||||
|
configuration.init-ssh = {
|
||||||
|
enable = "prepare";
|
||||||
|
kernelModules = [ "e1000e" ];
|
||||||
|
};
|
||||||
|
|
||||||
# just enable lan
|
# just enable lan
|
||||||
networking.dhcpcd.allowInterfaces = [ "enp0s25" ];
|
networking.dhcpcd.allowInterfaces = [ "enp0s25" ];
|
||||||
|
|
||||||
|
|
|
@ -243,6 +243,7 @@ in {
|
||||||
|
|
||||||
services.home-assistant = {
|
services.home-assistant = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
package = unstablePkgs.home-assistant;
|
||||||
#package = unstablePkgs.home-assistant.override {
|
#package = unstablePkgs.home-assistant.override {
|
||||||
# python3 = unstablePkgs.python37;
|
# python3 = unstablePkgs.python37;
|
||||||
# extraPackages = python: [
|
# extraPackages = python: [
|
||||||
|
|
|
@ -15,7 +15,11 @@ in {
|
||||||
type = with types; enum [ "disable" "prepare" "enabled" ];
|
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 {
|
port = mkOption {
|
||||||
default = 23;
|
default = 23;
|
||||||
|
|
Loading…
Reference in a new issue