things and stuff
This commit is contained in:
parent
6946bbd224
commit
1d32924d85
|
@ -5,6 +5,15 @@
|
||||||
{ config, pkgs, lib, ... }:
|
{ config, pkgs, lib, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
|
c3d2 = {
|
||||||
|
isInHq = true;
|
||||||
|
hq.interface = "eth0";
|
||||||
|
};
|
||||||
|
networking = {
|
||||||
|
hostName = "radius";
|
||||||
|
interfaces.eth0.useDHCP = lib.mkForce true;
|
||||||
|
};
|
||||||
|
|
||||||
imports =
|
imports =
|
||||||
[ <nixpkgs/nixos/modules/profiles/minimal.nix>
|
[ <nixpkgs/nixos/modules/profiles/minimal.nix>
|
||||||
];
|
];
|
||||||
|
@ -41,6 +50,8 @@
|
||||||
services.freeradius.enable = true;
|
services.freeradius.enable = true;
|
||||||
services.freeradius.configDir = "/root/nix-config/hosts/containers/radius/freeradius";
|
services.freeradius.configDir = "/root/nix-config/hosts/containers/radius/freeradius";
|
||||||
|
|
||||||
|
services.openssh.enable = true;
|
||||||
|
|
||||||
# Create a few files early before packing tarball for Proxmox
|
# Create a few files early before packing tarball for Proxmox
|
||||||
# architecture/OS detection.
|
# architecture/OS detection.
|
||||||
system.extraSystemBuilderCmds =
|
system.extraSystemBuilderCmds =
|
||||||
|
|
|
@ -236,7 +236,8 @@ client localhost {
|
||||||
|
|
||||||
### ### ### C3D2 ### ### ###
|
### ### ### C3D2 ### ### ###
|
||||||
|
|
||||||
client 0.0.0.0/0 {
|
client any {
|
||||||
|
ipaddr 0.0.0.0/0
|
||||||
secret = public
|
secret = public
|
||||||
nastype = other
|
nastype = other
|
||||||
require_message_authenticator = no
|
require_message_authenticator = no
|
||||||
|
|
Loading…
Reference in New Issue
Block a user