forked from c3d2/nix-config
things and stuff
This commit is contained in:
parent
6946bbd224
commit
1d32924d85
|
@ -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 =
|
||||
|
|
|
@ -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…
Reference in New Issue