mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 18:04:41 +02:00
serverle: provide wifi password
This commit is contained in:
parent
33cc73c0b7
commit
5e97b2e3c6
1 changed files with 11 additions and 0 deletions
11
nixos/serverle/wifi.nix
Normal file
11
nixos/serverle/wifi.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{ config, ... }:
|
||||
{
|
||||
sops.secrets."wifi/bismarck" = { };
|
||||
|
||||
networking.wireless = {
|
||||
environmentFile = config.sops.secrets."wifi/bismarck".path;
|
||||
networks = {
|
||||
"Bismarck WLAN".psk = "@PSK_BISMARCK@";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue