blob: 6a3ab6981fdefacee55f10e0efc0aa88f47af14e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
{ ... }:
let
private = import ../../config.private.nix;
in {
imports = [ ./ssh.nix ];
networking = {
hostName = "bacchus";
firewall.enable = true;
networkmanager = {
enable = true;
# wifi.powersave = true;
ensureProfiles.profiles = {
home-wifi = {
connection = {
id = "home-wifi";
type = "wifi";
autoconnect = true;
};
wifi = {
mode = "infrastructure";
ssid = private.wireless.ssid;
};
wifi-security = {
auth-alg = "open";
key-mgmt = "wpa-psk";
psk = private.wireless.password;
};
};
};
};
};
}
|