Skip to content

Instantly share code, notes, and snippets.

View Sorixelle's full-sized avatar

Ruby Juric Sorixelle

View GitHub Profile
@c0deaddict
c0deaddict / nixos-container-in-wireguard-vpn.nix
Created August 10, 2021 13:29
NixOS container in Wireguard VPN network namespace
{ lib, config, pkgs, ... }:
with lib;
let
veth = "veth-vpn";
hostIp = "10.0.0.1/24";
guestIp = "10.0.0.2/24";