2023-07-17 20:37:53 +00:00
|
|
|
{nixos-hardware, ...}: let
|
2023-07-17 15:29:13 +00:00
|
|
|
password = "$y$j9T$g/a4KaQ5VitWI9ZtAh9i3/$wjejk5W8LMc0gaVgw69kwrKLqBgZ95ekaOl/GaTOZVC";
|
|
|
|
in {
|
|
|
|
imports = [
|
2023-07-17 20:37:53 +00:00
|
|
|
nixos-hardware.nixosModules.lenovo-thinkpad-x270
|
2023-07-17 15:29:13 +00:00
|
|
|
./hardware-configuration.nix
|
|
|
|
];
|
|
|
|
|
|
|
|
# Don't change!
|
|
|
|
system.stateVersion = "23.05";
|
|
|
|
home-manager.users.buffet.home.stateVersion = "23.05";
|
|
|
|
|
|
|
|
users.users.buffet.hashedPassword = password;
|
|
|
|
users.users.root.hashedPassword = password;
|
|
|
|
|
|
|
|
networking.hostName = "alice";
|
|
|
|
|
2023-07-19 13:33:14 +00:00
|
|
|
services = {
|
|
|
|
tlp = {
|
|
|
|
enable = true;
|
2023-07-17 15:29:13 +00:00
|
|
|
|
2023-07-19 13:33:14 +00:00
|
|
|
settings = {
|
2023-08-20 16:42:22 +00:00
|
|
|
START_CHARGE_THRESH_BAT0 = 40;
|
|
|
|
STOP_CHARGE_THRESH_BAT0 = 60;
|
2023-07-17 15:29:13 +00:00
|
|
|
|
2023-08-20 16:42:22 +00:00
|
|
|
START_CHARGE_THRESH_BAT1 = 40;
|
|
|
|
STOP_CHARGE_THRESH_BAT1 = 60;
|
2023-07-19 13:33:14 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
keyd = {
|
|
|
|
enable = true;
|
|
|
|
settings = {
|
|
|
|
main = {
|
|
|
|
"102nd" = "layer(shift)"; # < as shift
|
2023-07-21 07:34:06 +00:00
|
|
|
"enter" = "\\";
|
|
|
|
"\\" = "enter";
|
2023-07-19 13:33:14 +00:00
|
|
|
};
|
|
|
|
};
|
2023-07-17 15:29:13 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|