pocket2 changes + CONSOLE BLANKING

This commit is contained in:
Don Harper 2023-10-04 23:01:22 -05:00
parent 02d7267e5e
commit f2ec49ad2d
2 changed files with 18 additions and 1 deletions

View file

@ -6,6 +6,20 @@ let
in {
systemd = {
services = {
console-blank = {
enable = true;
description ="Blank screen";
serviceConfig = {
Type = "oneshot";
ExecStart = "${pkgs.util-linux}/bin/setterm -blank 1";
TTYPath="/dev/console";
StandardOutput="tty";
};
wantedBy = ["multi-user.target"];
environment = {
TERM = "linux";
};
};
tailscale-autoconnect = {
description = "Automatic connection to Tailscale";