14 lines
257 B
Nix
14 lines
257 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
# Enable the OpenSSH daemon
|
|
services.openssh.enable = true;
|
|
|
|
# Sleep configuration
|
|
systemd.sleep.extraConfig = ''
|
|
AllowSuspend=no
|
|
AllowHibernation=no
|
|
AllowHybridSleep=no
|
|
AllowSuspendThenHibernate=no
|
|
'';
|
|
} |