Browse Source

things and stuff

container/radius
eri! 11 months ago
parent
commit
1d32924d85
  1. 11
      hosts/containers/radius/configuration.nix
  2. 3
      hosts/containers/radius/freeradius/clients.conf

11
hosts/containers/radius/configuration.nix

@ -5,6 +5,15 @@
{ config, pkgs, lib, ... }:
{
c3d2 = {
isInHq = true;
hq.interface = "eth0";
};
networking = {
hostName = "radius";
interfaces.eth0.useDHCP = lib.mkForce true;
};
imports =
[ <nixpkgs/nixos/modules/profiles/minimal.nix>
];
@ -41,6 +50,8 @@
services.freeradius.enable = true;
services.freeradius.configDir = "/root/nix-config/hosts/containers/radius/freeradius";
services.openssh.enable = true;
# Create a few files early before packing tarball for Proxmox
# architecture/OS detection.
system.extraSystemBuilderCmds =

3
hosts/containers/radius/freeradius/clients.conf

@ -236,7 +236,8 @@ client localhost {
### ### ### C3D2 ### ### ###
client 0.0.0.0/0 {
client any {
ipaddr 0.0.0.0/0
secret = public
nastype = other
require_message_authenticator = no

Loading…
Cancel
Save