things and stuff

This commit is contained in:
Eri - 2021-03-06 20:44:03 +01:00
parent 6946bbd224
commit 1d32924d85
2 changed files with 13 additions and 1 deletions

View File

@ -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 =

View File

@ -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