ThinkBook: Init basic host.

This commit is contained in:
Dmitry Voronin 2025-01-18 20:50:25 +03:00
parent 75b9fcccd1
commit 889a52f147
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k
2 changed files with 27 additions and 0 deletions

View file

@ -0,0 +1,5 @@
{ ... }:
{
# Don't suspend on lid closed.
services.logind.lidSwitch = "ignore";
}

View file

@ -0,0 +1,22 @@
{ ... }:
{
home.nixos.enable = true;
user = {
root = true;
voronind = true;
};
module = {
display.primary = "eDP-1";
print.enable = true;
builder.client.enable = true;
intel.cpu.enable = true;
purpose = {
desktop = true;
};
hwmon = {
file = "temp1_input";
path = "/sys/devices/platform/coretemp.0/hwmon";
};
};
}