Skip to content

hugolgst/nixos-wireguard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

nixos-wireguard

The configuration and setup guide used to create a Wireguard VPN server using Google Cloud and NixOS.

Google cloud setup

  1. In order to setup a VM instance using NixOS I followed this post.
  2. Then I created a static IP address following this.
  3. I added this firewall rule in order to accept incoming traffic

NixOS setup

To install the wireguard server just clone the content of configuration.nix into /etc/nixos/configuration.nix, or, clone the repository.

cd /etc
git clone git@github.com:hugolgst/nixos-wireguard.git nixos

Then tweak the configuration.nix for your needs. and rebuild the system.

nixos-rebuild switch

About

Wireguard server on a Google Cloud VM running NixOS

Topics

Resources

Stars

Watchers

Forks

Languages