This commit is contained in:
@ -1,9 +1,7 @@
|
||||
{ lib, config, ... }:
|
||||
let cfg = config.syscfg.net.wlp;
|
||||
in {
|
||||
config = lib.mkIf cfg.enable {
|
||||
{ lib, config, ... }: {
|
||||
config = lib.mkIf (config.syscfg.net.wlp.enable) {
|
||||
networking.supplicant = {
|
||||
"${cfg.nif}" = {
|
||||
"${config.syscfg.net.wlp.nif}" = {
|
||||
configFile.path = config.sops.secrets.wifi.path;
|
||||
extraConf = ''
|
||||
network={
|
||||
|
Reference in New Issue
Block a user