dot_testing/boxes/x230t/default.nix

56 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
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
bluetuith
2024-01-24 18:49:26 -06:00
brave
vdirsyncer
isync
khal
todoman
2024-02-04 07:48:42 -06:00
lisgd
vscodium
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 = {
grub.timeoutStyle = "hidden";
timeout = 0;
grub.enable = true;
grub.device = "/dev/sda";
};
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";
}