2017-10-15 16:28:43 +02:00
|
|
|
# Local configuration for 'adho' (Thinkpad T470s)
|
|
|
|
{ config, ...}:
|
|
|
|
|
|
|
|
{
|
2017-10-15 16:42:31 +02:00
|
|
|
boot.initrd.luks.devices.adho.device = "/dev/disk/by-uuid/722006b0-9654-4ea1-8703-e0cf9ac1905e";
|
2017-10-15 16:28:43 +02:00
|
|
|
networking.hostName = "adho";
|
|
|
|
services.xserver.libinput.enable = true;
|
2017-10-16 10:11:32 +02:00
|
|
|
services.xserver.videoDrivers = [ "intel" ];
|
2017-10-15 20:01:07 +02:00
|
|
|
programs.light.enable = true;
|
2017-10-16 13:47:10 +02:00
|
|
|
|
|
|
|
networking.wireless.enable = true;
|
|
|
|
networking.wireless.networks = {
|
|
|
|
# Welcome to roast club!
|
|
|
|
"How do I computer?" = {
|
|
|
|
psk = "washyourface";
|
|
|
|
};
|
|
|
|
|
|
|
|
# Did someone say wifi credentials are secret?
|
|
|
|
# http://bit.ly/2gI43QP
|
|
|
|
"Amesto-mobile" = {
|
|
|
|
psk = "ostemAt1";
|
|
|
|
};
|
|
|
|
|
|
|
|
# Public places in Oslo:
|
|
|
|
"Abelone" = {
|
|
|
|
psk = "speakeasy";
|
|
|
|
};
|
|
|
|
};
|
2017-10-19 19:54:15 +02:00
|
|
|
|
|
|
|
hardware.bluetooth.enable = true;
|
2017-10-20 20:22:51 +02:00
|
|
|
|
|
|
|
# Configure POSIX queue limits (for work)
|
|
|
|
systemd.tmpfiles.rules = let mqueue = "/proc/sys/fs/mqueue"; in [
|
|
|
|
"w ${mqueue}/msgsize_max - - - - ${toString (64 * 1024)}"
|
|
|
|
"w ${mqueue}/msg_max - - - - 50"
|
|
|
|
];
|
2017-10-15 16:28:43 +02:00
|
|
|
}
|