refactor(adho): Replace connman with nix-based wifi config
Now that WPA2 is broken wifi passwords aren't secret anymore, anyways ;-)
This commit is contained in:
parent
4b6ac62307
commit
b24b4b54d4
1 changed files with 19 additions and 1 deletions
|
@ -4,8 +4,26 @@
|
|||
{
|
||||
boot.initrd.luks.devices.adho.device = "/dev/disk/by-uuid/722006b0-9654-4ea1-8703-e0cf9ac1905e";
|
||||
networking.hostName = "adho";
|
||||
networking.connman.enable = true;
|
||||
services.xserver.libinput.enable = true;
|
||||
services.xserver.videoDrivers = [ "intel" ];
|
||||
programs.light.enable = true;
|
||||
|
||||
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";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue