ThinkBook: Init basic host.
This commit is contained in:
parent
75b9fcccd1
commit
889a52f147
5
host/x86_64-linux/thinkbook/Logind.nix
Normal file
5
host/x86_64-linux/thinkbook/Logind.nix
Normal file
|
@ -0,0 +1,5 @@
|
|||
{ ... }:
|
||||
{
|
||||
# Don't suspend on lid closed.
|
||||
services.logind.lidSwitch = "ignore";
|
||||
}
|
22
host/x86_64-linux/thinkbook/default.nix
Normal file
22
host/x86_64-linux/thinkbook/default.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue