diff --git a/host/x86_64-linux/thinkbook/Logind.nix b/host/x86_64-linux/thinkbook/Logind.nix new file mode 100644 index 0000000..cd139de --- /dev/null +++ b/host/x86_64-linux/thinkbook/Logind.nix @@ -0,0 +1,5 @@ +{ ... }: +{ + # Don't suspend on lid closed. + services.logind.lidSwitch = "ignore"; +} diff --git a/host/x86_64-linux/thinkbook/default.nix b/host/x86_64-linux/thinkbook/default.nix new file mode 100644 index 0000000..0be9064 --- /dev/null +++ b/host/x86_64-linux/thinkbook/default.nix @@ -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"; + }; + }; +}