mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 17:31:34 +01:00
Add wlan
This commit is contained in:
parent
7f649b846b
commit
8d8c006e99
2 changed files with 8 additions and 3 deletions
|
|
@ -12,6 +12,7 @@
|
|||
secrets = {
|
||||
"wlan/WLAN-233151/key" = { };
|
||||
"wlan/Fairphone4/key" = { };
|
||||
"wlan/DSL_EXT/key" = { };
|
||||
};
|
||||
|
||||
templates =
|
||||
|
|
@ -24,6 +25,7 @@
|
|||
{
|
||||
"iwd/WLAN-233151.psk".content = makePskFile "WLAN-233151";
|
||||
"iwd/Fairphone4.psk".content = makePskFile "Fairphone4";
|
||||
"iwd/DSL_EXT.psk".content = makePskFile "DSL_EXT";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
@ -41,6 +43,7 @@
|
|||
config.sops.templates."iwd/WLAN-233151.psk".path
|
||||
}"
|
||||
"C /var/lib/iwd/Fairphone4.psk 0600 root root - ${config.sops.templates."iwd/Fairphone4.psk".path}"
|
||||
"C /var/lib/iwd/DSL_EXT.psk 0600 root root - ${config.sops.templates."iwd/DSL_EXT.psk".path}"
|
||||
];
|
||||
|
||||
environment.systemPackages = [ pkgs.iwgtk ];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue