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
|
|
|
|
2018-03-17 21:47:17 +01:00
|
|
|
# Office printer configuration
|
|
|
|
services.printing.enable = true;
|
|
|
|
services.printing.drivers = [ pkgs.hplip ];
|
|
|
|
services.avahi.enable = true;
|
|
|
|
services.avahi.nssmdns = true;
|
|
|
|
|
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-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
|
|
|
|
2017-11-24 09:28:15 +01:00
|
|
|
# Sync Compound
|
2017-11-20 22:00:50 +01:00
|
|
|
"RWDS" = {
|
|
|
|
psk = "radicalagenda";
|
|
|
|
};
|
|
|
|
|
2017-11-24 09:28:15 +01:00
|
|
|
"BrewDog" = {
|
|
|
|
psk = "welovebeer";
|
|
|
|
};
|
|
|
|
|
2017-12-21 11:04:36 +01:00
|
|
|
# Dima's
|
|
|
|
"What's a Bad Idea?" = {
|
|
|
|
psk = "DQDxzrzIvy0YtDwH";
|
|
|
|
};
|
|
|
|
|
2018-01-10 14:53:47 +01:00
|
|
|
"SafetyWiFi - Teknologihuset" = {
|
|
|
|
psk = "tech4ever";
|
|
|
|
};
|
|
|
|
|
2018-02-19 08:55:07 +01:00
|
|
|
"Selvaag Pluss" = {
|
|
|
|
psk = "detlilleekstra";
|
|
|
|
};
|
|
|
|
|
2018-03-03 15:37:38 +01:00
|
|
|
"Langler" = {
|
|
|
|
psk = "Oslo2018";
|
|
|
|
};
|
|
|
|
|
2017-12-31 16:48:03 +01:00
|
|
|
"Norwegian Internet Access" = {};
|
|
|
|
"NSB_INTERAKTIV" = {};
|
2017-12-24 18:07:10 +01:00
|
|
|
"The Thief" = {};
|
2017-11-20 22:00:50 +01:00
|
|
|
"espressohouse" = {};
|
|
|
|
"Gotanet Open" = {};
|
2017-12-21 11:04:36 +01:00
|
|
|
"wifi.flytoget.no" = {};
|
|
|
|
"AIRPORT" = {};
|
|
|
|
"ilcaffelovesyou" = {};
|
2017-12-31 16:48:03 +01:00
|
|
|
"WIFIonICE" = {};
|
2018-01-14 00:25:14 +01:00
|
|
|
"Lorry Gjest" = {};
|
2018-02-02 10:59:27 +01:00
|
|
|
"Amundsengjest" = {};
|
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
|
|
|
}
|