summary refs log tree commit diff
path: root/nixos/modules/services/networking/freeradius.nix
diff options
context:
space:
mode:
authorNetix (Espinet François) <dev.espinetfrancois@gmail.com>2021-12-07 08:51:57 +0100
committerNetix (Espinet François) <dev.espinetfrancois@gmail.com>2021-12-07 08:51:57 +0100
commit9d7ce57da5729ca67d5b3778706b37bb70a88ff8 (patch)
tree3f00d1b8e8e609b3faef15f1c7b68c5d6057caa8 /nixos/modules/services/networking/freeradius.nix
parent75ef7d62b0ca2253d72f4dccefe71660c30ba6b4 (diff)
downloadnixpkgs-9d7ce57da5729ca67d5b3778706b37bb70a88ff8.tar
nixpkgs-9d7ce57da5729ca67d5b3778706b37bb70a88ff8.tar.gz
nixpkgs-9d7ce57da5729ca67d5b3778706b37bb70a88ff8.tar.bz2
nixpkgs-9d7ce57da5729ca67d5b3778706b37bb70a88ff8.tar.lz
nixpkgs-9d7ce57da5729ca67d5b3778706b37bb70a88ff8.tar.xz
nixpkgs-9d7ce57da5729ca67d5b3778706b37bb70a88ff8.tar.zst
nixpkgs-9d7ce57da5729ca67d5b3778706b37bb70a88ff8.zip
freeradius: fix radius user
We now must choose either system or normal user when creating a user
Diffstat (limited to 'nixos/modules/services/networking/freeradius.nix')
-rw-r--r--nixos/modules/services/networking/freeradius.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/services/networking/freeradius.nix b/nixos/modules/services/networking/freeradius.nix
index f3fdd576b65..7fa3a8fa17f 100644
--- a/nixos/modules/services/networking/freeradius.nix
+++ b/nixos/modules/services/networking/freeradius.nix
@@ -28,6 +28,7 @@ let
         ProtectHome = "on";
         Restart = "on-failure";
         RestartSec = 2;
+        LogsDirectory = "radius";
     };
   };
 
@@ -73,6 +74,7 @@ in
       users.radius = {
         /*uid = config.ids.uids.radius;*/
         description = "Radius daemon user";
+        isSystemUser = true;
       };
     };