Add wifi connection to wheatley
This commit is contained in:
parent
ed61829532
commit
15b6b81816
2 changed files with 37 additions and 0 deletions
|
@ -45,6 +45,12 @@
|
|||
};
|
||||
};
|
||||
|
||||
sops.defaultSopsFile = ./secrets/sops.yaml;
|
||||
sops.age.keyFile = ../../../../../var/secrets/keys.txt;
|
||||
|
||||
sops.secrets."wireless.env".mode = "0440";
|
||||
sops.secrets."wireless.env".owner = config.users.users.root.name;
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
age
|
||||
git
|
||||
|
@ -103,6 +109,16 @@
|
|||
};
|
||||
};
|
||||
|
||||
networking.wireless.enable = true;
|
||||
networking.wireless.environmentFile = config.sops.secrets."wireless.env".path;
|
||||
networking.wireless.networks."KPNAA6306" = {
|
||||
hidden = true;
|
||||
auth = ''
|
||||
key_mgmt=WPA
|
||||
password="@PSK_HOME@"
|
||||
'';
|
||||
};
|
||||
|
||||
networking.firewall.enable = true;
|
||||
|
||||
networking.firewall = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue