tvl-depot/adho-configuration.nix

125 lines
2.6 KiB
Nix
Raw Normal View History

# Local configuration for 'adho' (Thinkpad T470s)
2017-10-29 16:47:05 +01:00
{ config, pkgs, ...}:
{
boot.initrd.luks.devices.adho.device = "/dev/disk/by-uuid/722006b0-9654-4ea1-8703-e0cf9ac1905e";
services.xserver.libinput.enable = true;
services.xserver.videoDrivers = [ "intel" ];
programs.light.enable = true;
# Office printer configuration
services.printing.enable = true;
services.printing.drivers = [ pkgs.hplip ];
services.avahi.enable = true;
services.avahi.nssmdns = true;
networking = {
hostName = "adho";
wireless.enable = true;
wireless.userControlled.enable = true;
wireless.networks = {
# Welcome to roast club!
2017-10-29 16:47:22 +01:00
"How do I computer fast?" = {
psk = "washyourface";
};
# On the go!
"Rumpetroll" = {
psk = "fisk1234";
# If this network exists, chances are that I want it:
priority = 10;
};
# Public places in Oslo:
"Abelone" = {
psk = "speakeasy";
};
2017-10-22 01:30:22 +02:00
2018-06-06 10:32:09 +02:00
"Wurst" = {
psk = "wurst2015";
};
2017-10-22 01:30:22 +02:00
# Eugene's apartment:
"GET_5G_4FD250" = {
psk = "62636342";
};
# FSCONS 2017
"uioguest" = {};
# Hackeriet!
"hackeriet.no" = {
psk = "hackeriet.no";
};
2017-11-10 09:54:31 +01:00
# Cafe Sara
"Sara Nett" = {
psk = "sarabar1989";
};
2018-04-22 12:43:33 +02:00
# The Dubliner
"DubGjest" = {
# of course
psk = "Guinness";
};
2017-11-24 09:28:15 +01:00
# Sync Compound
"RWDS" = {
psk = "radicalagenda";
};
2017-11-24 09:28:15 +01:00
"BrewDog" = {
psk = "welovebeer";
};
# 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";
};
"Langler" = {
psk = "Oslo2018";
};
# Pils & Programmering
"BEKKguest" = {
psk = "guest7890";
};
2018-05-27 19:12:14 +02:00
# Røverstaden
"Roverstaden" = {
psk = "r0verstaden2018";
};
"Norwegian Internet Access" = {};
"NSB_INTERAKTIV" = {};
2017-12-24 18:07:10 +01:00
"The Thief" = {};
"espressohouse" = {};
"Gotanet Open" = {};
"wifi.flytoget.no" = {};
"AIRPORT" = {};
"ilcaffelovesyou" = {};
"WIFIonICE" = {};
2018-01-14 00:25:14 +01:00
"Lorry Gjest" = {};
2018-02-02 10:59:27 +01:00
"Amundsengjest" = {};
};
};
2017-10-19 19:54:15 +02:00
hardware.bluetooth.enable = true;
# 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"
];
}