Review/revert later

This commit is contained in:
muon 2024-07-10 21:12:56 +00:00
parent f4354da57d
commit 6bb34e1c51
13 changed files with 293 additions and 38 deletions

View file

@ -14,8 +14,13 @@
config = {
networking.networkmanager.enable = true;
services.tailscale.enable = true;
# services.openvpn.servers = lib.mkIf config.mods.openvpn.enable {
# remote.config = ''config ${config.mods.openvpn.config}'';
# };
environment.systemPackages = with pkgs; [
openvpn
];
services.openvpn.servers = lib.mkIf config.mods.openvpn.enable {
remote.config = ''config ${config.mods.openvpn.config}'';
};
};
}

View file

@ -7,7 +7,7 @@
config = {
users.users.${config.mods.user.name} = {
isNormalUser = true;
extraGroups = [ "wheel" ];
extraGroups = [ "wheel" "docker" ];
initialPassword = "changeme";
shell = if config.programs.zsh.enable
then pkgs.zsh