pocket2 changes + CONSOLE BLANKING
This commit is contained in:
parent
02d7267e5e
commit
f2ec49ad2d
2 changed files with 18 additions and 1 deletions
|
|
@ -46,7 +46,10 @@
|
|||
networking.hostName = "pocket2";
|
||||
}
|
||||
./hosts/pocket2/hardware-configuration.nix
|
||||
inputs.nixos-hardware.nixosModules.gpd.pocket-3
|
||||
inputs.nixos-hardware.nixosModules.common-cpu-intel
|
||||
inputs.nixos-hardware.nixosModules.common-gpu-intel
|
||||
inputs.nixos-hardware.nixosModules.common-pc-laptop
|
||||
inputs.nixos-hardware.nixosModules.common-pc-laptop-ssd
|
||||
];
|
||||
};
|
||||
dragon = inputs.nixpkgs.lib.nixosSystem {
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue