diff options
| author | Miran Bastaja <miran.bastaja04@gmail.com> | 2024-07-04 22:58:28 +0200 |
|---|---|---|
| committer | Miran Bastaja <miran.bastaja04@gmail.com> | 2024-07-04 22:58:28 +0200 |
| commit | 333f134ec64739abf0c3e46e59a4a8ad88b883b5 (patch) | |
| tree | 5c41313437176f100116883b353c7efd4b9b7ab3 /share/nixos-modules/iwd-ext.nix | |
| parent | 430d063f50824b0b268e73c8577705dc2c4fc318 (diff) | |
formatting
Diffstat (limited to 'share/nixos-modules/iwd-ext.nix')
| -rw-r--r-- | share/nixos-modules/iwd-ext.nix | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/share/nixos-modules/iwd-ext.nix b/share/nixos-modules/iwd-ext.nix index ddf0494..09327a9 100644 --- a/share/nixos-modules/iwd-ext.nix +++ b/share/nixos-modules/iwd-ext.nix @@ -13,8 +13,7 @@ let }; configFile = ini.generate "main.conf" (recursiveUpdate defaults cfg.settings); -in -{ +in { options.networking.wireless.iwd-ext = { enable = mkEnableOption (lib.mdDoc "iwd"); @@ -51,12 +50,8 @@ in type = types.attrsOf ini.type; default = { }; example = { - HomeNetwork = { - Security.PreSharedKey = "totallysecurepsk"; - }; - "@NETWORK_2_SSID@" = { - Security.PreSharedKey = "@NETWORK_2_PSK@"; - }; + HomeNetwork = { Security.PreSharedKey = "totallysecurepsk"; }; + "@NETWORK_2_SSID@" = { Security.PreSharedKey = "@NETWORK_2_PSK@"; }; }; description = lib.mdDoc '' |
