Files
infrastructure/machines/vpn/configuration.nix
2024-12-17 11:30:33 +01:00

29 lines
474 B
Nix

{ config, lib, pkgs, inputs, ... }:
with lib;
{
#sops.defaultSopsFile = ./secrets.yaml;
networking = {
hostName = mkDefault "vpn";
useDHCP = false;
nameservers = [ "1.1.1.1" ];
};
imports = [
../modules/malobeo_user.nix
../modules/sshd.nix
../modules/minimal_tools.nix
];
services.malobeo.vpn = {
enable = true;
name = "vpn";
privateKey = "somepath";
};
system.stateVersion = "22.11"; # Did you read the comment?
}