deprecate iwd module gracefully
This commit is contained in:
@@ -33,7 +33,17 @@ let
|
||||
};
|
||||
};
|
||||
in
|
||||
{
|
||||
lib.warn
|
||||
''
|
||||
The clan module `iwd` is deprecated and replaced by the clans service `wifi`
|
||||
Please migrate your config to the new service (see: https://docs.clan.lol/reference/clanServices/wifi/)
|
||||
|
||||
To keep passwords after migrating the config, use:
|
||||
clan vars get <your-machine> iwd.<network-name>/ssid | clan vars set <your-machine> wifi.<network-name>/network-name
|
||||
and:
|
||||
clan vars get <your-machine> iwd.<network-name>/password | clan vars set <your-machine> wifi.<network-name>/password
|
||||
''
|
||||
{
|
||||
options.clan.iwd = {
|
||||
networks = lib.mkOption {
|
||||
type = lib.types.attrsOf (
|
||||
@@ -99,4 +109,4 @@ in
|
||||
};
|
||||
}
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
@@ -14,7 +14,6 @@ in
|
||||
roles.default = {
|
||||
interface = {
|
||||
options.networks = lib.mkOption {
|
||||
visible = false;
|
||||
type = lib.types.attrsOf (
|
||||
lib.types.submodule (
|
||||
{ ... }:
|
||||
|
||||
Reference in New Issue
Block a user