16 lines
438 B
Nix
16 lines
438 B
Nix
{ inputs, ... }: {
|
|
flake.nixosModules.easyroam = { config, ... }: {
|
|
imports = [
|
|
inputs.nix-easyroam.nixosModules.nix-easyroam
|
|
];
|
|
services.easyroam = {
|
|
enable = true;
|
|
pkcsFile = config.age.secrets.easyroam.path;
|
|
networkmanager.enable = true;
|
|
};
|
|
systemd.services.wpa_supplicant = {
|
|
wants = [ "easyroam-cert-setup.service" ];
|
|
after = [ "easyroam-cert-setup.service" ];
|
|
};
|
|
};
|
|
}
|