summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2017-12-18 18:52:35 +0100
committerlassulus <lassulus@lassul.us>2017-12-18 18:52:35 +0100
commit2500fb454b12782792cdd5945278bdcae1b0805d (patch)
treea846e1ffd3d8b88dc967d62b488702ef1a03ef80
parent457a7ad90fc40f313e7f78dc080d0ad9ff2b9bd7 (diff)
l helios.r: ignore lidswitch
-rw-r--r--krebs/3modules/lass/default.nix2
-rw-r--r--lass/1systems/helios/config.nix3
2 files changed, 4 insertions, 1 deletions
diff --git a/krebs/3modules/lass/default.nix b/krebs/3modules/lass/default.nix
index ba6d85e7a..0567d58ba 100644
--- a/krebs/3modules/lass/default.nix
+++ b/krebs/3modules/lass/default.nix
@@ -44,7 +44,7 @@ with import <stockholm/lib>;
cores = 2;
nets = rec {
internet = {
- ip4.addr = "45.62.226.163";
+ ip4.addr = "64.137.242.41";
aliases = [
"echelon.i"
];
diff --git a/lass/1systems/helios/config.nix b/lass/1systems/helios/config.nix
index 03a065d9c..8bd9735a9 100644
--- a/lass/1systems/helios/config.nix
+++ b/lass/1systems/helios/config.nix
@@ -156,4 +156,7 @@ with import <stockholm/lib>;
services.printing.drivers = [ pkgs.postscript-lexmark ];
+ services.logind.extraConfig = ''
+ HandleLidSwitch=ignore
+ '';
}