rice/alice/default.nix

43 lines
911 B
Nix
Raw Normal View History

2023-07-17 20:37:53 +00:00
{nixos-hardware, ...}: let
password = "$y$j9T$g/a4KaQ5VitWI9ZtAh9i3/$wjejk5W8LMc0gaVgw69kwrKLqBgZ95ekaOl/GaTOZVC";
in {
imports = [
2023-07-17 20:37:53 +00:00
nixos-hardware.nixosModules.lenovo-thinkpad-x270
./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-19 13:33:14 +00:00
settings = {
START_CHARGE_THRESH_BAT0 = 70;
STOP_CHARGE_THRESH_BAT0 = 80;
START_CHARGE_THRESH_BAT1 = 70;
STOP_CHARGE_THRESH_BAT1 = 80;
2023-07-19 13:33:14 +00:00
};
};
keyd = {
enable = true;
settings = {
main = {
"102nd" = "layer(shift)"; # < as shift
"enter" = "\\";
"\\" = "enter";
2023-07-19 13:33:14 +00:00
};
};
};
};
}