dot_testing/boxes/x230t/default.nix

52 lines
1.0 KiB
Nix
Raw Normal View History

2024-01-07 22:16:14 -06:00
{ lib, config, pkgs, ...}:
{
imports = [
./hardware-configuration.nix
../../modules/bootstrap.nix
../../modules/common.nix
../../modules/x11.nix
2024-01-08 20:32:59 -06:00
../../modules/tlp.nix
2024-01-15 03:52:45 -06:00
../../modules/media.nix
../../modules/anki.nix
../../modules/power-control.nix
2024-01-18 03:54:32 -06:00
../../modules/adb.nix
../../modules/rbw.nix
2024-01-07 22:16:14 -06:00
];
2024-01-15 03:52:45 -06:00
environment.systemPackages = with pkgs; [
xscreensaver
2024-01-18 03:54:32 -06:00
thunderbird
2024-01-20 08:30:31 -06:00
hue-cli
2024-01-15 03:52:45 -06:00
];
2024-01-20 08:30:31 -06:00
hardware.bluetooth = {
enable = true;
};
2024-01-18 03:54:32 -06:00
services.udev.extraRules = ''
ACTION=="add", SUBSYSTEM=="input", KERNEL=="event[0-20]*", ENV{ID_INPUT_TOUCHSCREEN}=="1", MODE:="0666" GROUP="usr", SYMLINK+="input/touchscreen"
'';
users.users.usr.extraGroups = [ "input" ];
2024-01-15 03:52:45 -06:00
services.getty.autologinUser = "usr";
boot.loader = {
2024-02-06 19:45:32 -06:00
grub = {
timeoutStyle = "hidden";
enable = true;
device = "/dev/sda";
splashImage = null;
};
timeout = 1;
2024-01-15 03:52:45 -06:00
};
2024-01-09 08:05:49 -06:00
hardware.pulseaudio.enable = true;
2024-01-07 22:16:14 -06:00
networking.hostName = "x230t";
system.stateVersion = "23.11";
}