feat: désactivation automatique de la veille
This commit is contained in:
@@ -129,6 +129,12 @@
|
||||
openFirewall = true;
|
||||
};
|
||||
|
||||
# Désactive la mise en veille automatique du système (suspend/hibernate à l'idle)
|
||||
services.logind = {
|
||||
lidSwitchExternalPower = "ignore"; # ignorer fermeture couvercle quand branché
|
||||
settings.Login.IdleAction = "ignore";
|
||||
};
|
||||
|
||||
# List services that you want to enable:
|
||||
services.nscd.enable = true;
|
||||
services.tlp.enable = true;
|
||||
|
||||
@@ -130,6 +130,12 @@
|
||||
|
||||
# docker run -d --net traefik --ip 172.10.0.10 --restart always -v /var/run/docker.sock:/var/run/docker.sock:ro --name traefik -p 80:80 -p 8080:8080 traefik:2.4.9 --api.insecure=true --providers.docker
|
||||
# { command = "docker start traefik"; notification = false; }
|
||||
|
||||
# Désactive l'extinction automatique de l'écran (DPMS) et l'économiseur d'écran X11
|
||||
{
|
||||
command = "xset s off -dpms";
|
||||
notification = false;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user