summaryrefslogtreecommitdiff
path: root/hosts/local/fw11/configuration.nix
diff options
context:
space:
mode:
authorpolwex <polwex@sortug.com>2024-09-07 00:23:55 +0700
committerpolwex <polwex@sortug.com>2024-09-07 00:23:55 +0700
commit479d74e5146a601c2244153e8aa89e723b30cbe5 (patch)
treeab4df0c3c3a39821825feb7447f084765d53c1b8 /hosts/local/fw11/configuration.nix
parent6a7fa5ae7c243b3dd1f0d5a4221c3b69a4bdbab7 (diff)
m
Diffstat (limited to 'hosts/local/fw11/configuration.nix')
-rw-r--r--hosts/local/fw11/configuration.nix7
1 files changed, 6 insertions, 1 deletions
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