diff --git a/flake.nix b/flake.nix index 6c00cf8..5881f66 100644 --- a/flake.nix +++ b/flake.nix @@ -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 { diff --git a/workstation/systemd.nix b/workstation/systemd.nix index 53e727a..e0f7810 100644 --- a/workstation/systemd.nix +++ b/workstation/systemd.nix @@ -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";