add easyroam module

This commit is contained in:
lucy 2026-10-18 13:31:55 +02:00
commit 59f13a5a06
3 changed files with 15 additions and 1 deletions

View file

@ -10,6 +10,7 @@ let
agenix
boot
core
easyroam
/etc/nixos/hardware-configuration.nix
];
in

View file

@ -0,0 +1,13 @@
{ ... }: {
flake.nixosModules.easyroam = { config }: {
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" ];
};
};
}

View file

@ -16,7 +16,7 @@
security = {
rtkit.enable = true;
polkit.enable = true; # polkit
polkit.enablePkexecWrapper = true;
# polkit.enablePkexecWrapper = true;
};
nix.settings.experimental-features = [
"nix-command"