Run formatter
This commit is contained in:
parent
04163b2c79
commit
e863aea052
7 changed files with 36 additions and 25 deletions
|
|
@ -1,18 +1,23 @@
|
|||
{lib}: {
|
||||
/**
|
||||
/**
|
||||
Make a NetworkManager wifi profile, to be used with ensureProfiles
|
||||
*/
|
||||
mkWifiProfile = {id, ssid, priority ? 0, wifi-security}: {
|
||||
connection = {
|
||||
inherit id;
|
||||
type = "wifi";
|
||||
autoconnect-priority = priority;
|
||||
};
|
||||
ipv4.method = "auto";
|
||||
wifi = {
|
||||
mode = "infrastructure";
|
||||
inherit ssid;
|
||||
};
|
||||
inherit wifi-security;
|
||||
};
|
||||
*/
|
||||
mkWifiProfile = {
|
||||
id,
|
||||
ssid,
|
||||
priority ? 0,
|
||||
wifi-security,
|
||||
}: {
|
||||
connection = {
|
||||
inherit id;
|
||||
type = "wifi";
|
||||
autoconnect-priority = priority;
|
||||
};
|
||||
ipv4.method = "auto";
|
||||
wifi = {
|
||||
mode = "infrastructure";
|
||||
inherit ssid;
|
||||
};
|
||||
inherit wifi-security;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue