dot_testing/boxes/x230t/default.nix

67 lines
1.3 KiB
Nix
Raw Normal View History

2024-01-07 22:16:14 -06:00
{ lib, config, pkgs, ...}:
{
imports = [
./hardware-configuration.nix
2024-02-16 20:21:30 -06:00
./special-ssh-magic.nix
2024-01-07 22:16:14 -06:00
../../modules/bootstrap.nix
../../modules/common.nix
../../modules/x11.nix
2024-03-18 18:27:29 -05:00
../../modules/hosts.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-04-04 13:16:47 -05:00
texliveFull
libreoffice
2024-02-16 20:21:30 -06:00
ecryptfs
ffmpeg
2024-04-04 13:16:47 -05:00
thunderbird
ledger
ranger
2024-01-15 03:52:45 -06:00
];
2024-01-20 08:30:31 -06:00
hardware.bluetooth = {
enable = true;
};
services.printing.enable = true;
services.avahi = {
enable = true;
nssmdns = true;
openFirewall = 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";
}