[vpn] init

This commit is contained in:
2024-12-16 22:00:52 +01:00
parent f27065d49e
commit fea16d6f4b
3 changed files with 111 additions and 1 deletions

View File

@@ -0,0 +1,28 @@
{ 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?
}