2017-10-15 16:28:43 +02:00
|
|
|
# Local configuration for 'adho' (Thinkpad T470s)
|
2017-10-29 16:47:05 +01:00
|
|
|
{ config, pkgs, ...}:
|
2017-10-15 16:28:43 +02:00
|
|
|
|
|
|
|
{
|
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
|
|
|
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
|
|
|
|
2017-10-29 16:47:05 +01:00
|
|
|
# Attempt to get Steam & co to run:
|
|
|
|
hardware.opengl.driSupport32Bit = true;
|
|
|
|
hardware.pulseaudio.support32Bit = true;
|
|
|
|
environment.systemPackages = [ pkgs.steam ];
|
|
|
|
|
2017-10-21 00:33:39 +02:00
|
|
|
networking = {
|
|
|
|
hostName = "adho";
|
|
|
|
wireless.enable = true;
|
2017-10-25 17:20:06 +02:00
|
|
|
wireless.userControlled.enable = true;
|
|
|
|
|
2017-10-21 00:33:39 +02:00
|
|
|
wireless.networks = {
|
|
|
|
# Welcome to roast club!
|
2017-10-29 16:47:22 +01:00
|
|
|
"How do I computer fast?" = {
|
2017-10-21 00:33:39 +02:00
|
|
|
psk = "washyourface";
|
|
|
|
};
|
2017-10-16 13:47:10 +02:00
|
|
|
|
2017-10-21 00:33:39 +02:00
|
|
|
# Did someone say wifi credentials are secret?
|
|
|
|
# http://bit.ly/2gI43QP
|
|
|
|
"Amesto-mobile" = {
|
|
|
|
psk = "ostemAt1";
|
|
|
|
};
|
2017-10-16 13:47:10 +02:00
|
|
|
|
2017-10-25 17:20:06 +02:00
|
|
|
# On the go!
|
|
|
|
"Rumpetroll" = {
|
|
|
|
psk = "fisk1234";
|
|
|
|
# If this network exists, chances are that I want it:
|
|
|
|
priority = 10;
|
|
|
|
};
|
|
|
|
|
2017-10-21 00:33:39 +02:00
|
|
|
# Public places in Oslo:
|
|
|
|
"Abelone" = {
|
|
|
|
psk = "speakeasy";
|
|
|
|
};
|
2017-10-22 01:30:22 +02:00
|
|
|
|
|
|
|
# Eugene's apartment:
|
|
|
|
"GET_5G_4FD250" = {
|
|
|
|
psk = "62636342";
|
|
|
|
};
|
2017-11-08 15:35:04 +01:00
|
|
|
|
|
|
|
# FSCONS 2017
|
|
|
|
"uioguest" = {};
|
|
|
|
|
|
|
|
# Hackeriet!
|
|
|
|
"hackeriet.no" = {
|
|
|
|
psk = "hackeriet.no";
|
|
|
|
};
|
2017-11-10 09:54:31 +01:00
|
|
|
|
|
|
|
# Cafe Sara
|
|
|
|
"Sara Nett" = {
|
|
|
|
psk = "sarabar1989";
|
|
|
|
};
|
2017-11-20 22:00:50 +01:00
|
|
|
|
|
|
|
# Sync Compund
|
|
|
|
"RWDS" = {
|
|
|
|
psk = "radicalagenda";
|
|
|
|
};
|
|
|
|
|
|
|
|
"espressohouse" = {};
|
|
|
|
"Gotanet Open" = {};
|
2017-10-16 13:47:10 +02:00
|
|
|
};
|
|
|
|
};
|
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
|
|
|
}
|