flake-parts #1
3 changed files with 15 additions and 1 deletions
add easyroam module
commit
59f13a5a06
|
|
@ -10,6 +10,7 @@ let
|
|||
agenix
|
||||
boot
|
||||
core
|
||||
easyroam
|
||||
/etc/nixos/hardware-configuration.nix
|
||||
];
|
||||
in
|
||||
|
|
|
|||
13
modules/services/easyroam.nix
Normal file
13
modules/services/easyroam.nix
Normal 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" ];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
security = {
|
||||
rtkit.enable = true;
|
||||
polkit.enable = true; # polkit
|
||||
polkit.enablePkexecWrapper = true;
|
||||
# polkit.enablePkexecWrapper = true;
|
||||
};
|
||||
nix.settings.experimental-features = [
|
||||
"nix-command"
|
||||
|
|
|
|||
Loading…
Reference in a new issue