From 479d74e5146a601c2244153e8aa89e723b30cbe5 Mon Sep 17 00:00:00 2001 From: polwex Date: Sat, 7 Sep 2024 00:23:55 +0700 Subject: m --- hosts/local/fw11/configuration.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'hosts/local/fw11/configuration.nix') diff --git a/hosts/local/fw11/configuration.nix b/hosts/local/fw11/configuration.nix index bd9aa30..32c27b7 100644 --- a/hosts/local/fw11/configuration.nix +++ b/hosts/local/fw11/configuration.nix @@ -52,12 +52,17 @@ in { # List services that you want to enable: - services.openssh.enable = false; + services.openssh.enable = true; + services.openssh.ports = [5555]; # firmware update services.fwupd.enable = true; services.flatpak.enable = true; + # don't sleep if closed lid; + services.logind.lidSwitchExternalPower = "ignore"; + services.logind.lidSwitchDocked = "ignore"; + services.logind.lidSwitch = "ignore"; # This value determines the NixOS release from which the default # settings for stateful data, like file locations and database versions -- cgit v1.2.3