Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4fa6df2cde | ||
|
|
038a82e400 |
16
flake.lock
generated
16
flake.lock
generated
@@ -18,6 +18,21 @@
|
|||||||
"url": "https://git.mtgmonkey.net/Andromeda/nook"
|
"url": "https://git.mtgmonkey.net/Andromeda/nook"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"auto-openvpn": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1756224566,
|
||||||
|
"narHash": "sha256-SW/LESixI4cmSCR8uk3ZtLJpv4G4qkzDlP2EAUcp9to=",
|
||||||
|
"owner": "fin444",
|
||||||
|
"repo": "auto-openvpn.nix",
|
||||||
|
"rev": "cbbfdc0b203633f32511d1060c13e4f64c2f0bc5",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "fin444",
|
||||||
|
"repo": "auto-openvpn.nix",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"blobs": {
|
"blobs": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
@@ -330,6 +345,7 @@
|
|||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"andromeda-nook": "andromeda-nook",
|
"andromeda-nook": "andromeda-nook",
|
||||||
|
"auto-openvpn": "auto-openvpn",
|
||||||
"blog": "blog",
|
"blog": "blog",
|
||||||
"jank-client": "jank-client",
|
"jank-client": "jank-client",
|
||||||
"math-project": "math-project",
|
"math-project": "math-project",
|
||||||
|
|||||||
@@ -5,6 +5,7 @@
|
|||||||
noshell.url = "github:viperML/noshell";
|
noshell.url = "github:viperML/noshell";
|
||||||
spacebar-server.url = "github:spacebarchat/server";
|
spacebar-server.url = "github:spacebarchat/server";
|
||||||
simple-nixos-mailserver.url = "gitlab:simple-nixos-mailserver/nixos-mailserver/master";
|
simple-nixos-mailserver.url = "gitlab:simple-nixos-mailserver/nixos-mailserver/master";
|
||||||
|
auto-openvpn.url = "github:fin444/auto-openvpn.nix";
|
||||||
andromeda-nook.url = "git+https://git.mtgmonkey.net/Andromeda/nook";
|
andromeda-nook.url = "git+https://git.mtgmonkey.net/Andromeda/nook";
|
||||||
blog.url = "git+https://git.mtgmonkey.net/Andromeda/blog";
|
blog.url = "git+https://git.mtgmonkey.net/Andromeda/blog";
|
||||||
jank-client.url = "git+https://git.mtgmonkey.net/Andromeda/jank-client-fork";
|
jank-client.url = "git+https://git.mtgmonkey.net/Andromeda/jank-client-fork";
|
||||||
@@ -17,6 +18,7 @@
|
|||||||
noshell,
|
noshell,
|
||||||
spacebar-server,
|
spacebar-server,
|
||||||
simple-nixos-mailserver,
|
simple-nixos-mailserver,
|
||||||
|
auto-openvpn,
|
||||||
andromeda-nook,
|
andromeda-nook,
|
||||||
jank-client,
|
jank-client,
|
||||||
math-project,
|
math-project,
|
||||||
@@ -32,6 +34,7 @@
|
|||||||
inherit system;
|
inherit system;
|
||||||
inherit spacebar-server;
|
inherit spacebar-server;
|
||||||
inherit simple-nixos-mailserver;
|
inherit simple-nixos-mailserver;
|
||||||
|
inherit auto-openvpn;
|
||||||
inherit math-project;
|
inherit math-project;
|
||||||
inherit andromeda-nook;
|
inherit andromeda-nook;
|
||||||
inherit blog;
|
inherit blog;
|
||||||
@@ -50,6 +53,7 @@
|
|||||||
./services/math-project.nix
|
./services/math-project.nix
|
||||||
./services/spacebar.nix
|
./services/spacebar.nix
|
||||||
./services/translate.nix
|
./services/translate.nix
|
||||||
|
./services/vpn.nix
|
||||||
|
|
||||||
jank-client.nixosModules.x86_64-linux.default
|
jank-client.nixosModules.x86_64-linux.default
|
||||||
math-project.nixosModules.x86_64-linux.default
|
math-project.nixosModules.x86_64-linux.default
|
||||||
|
|||||||
12
services/vpn.nix
Normal file
12
services/vpn.nix
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
{auto-openvpn, ...}: {
|
||||||
|
imports = [
|
||||||
|
auto-openvpn.nixosModules.auto-openvpn
|
||||||
|
];
|
||||||
|
services.auto-openvpn = {
|
||||||
|
enable = true;
|
||||||
|
enableIPv6 = true;
|
||||||
|
interface = "ens18";
|
||||||
|
address = "173.249.5.230";
|
||||||
|
users = ["handy" "lenovo"];
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user