add wireguard to deck
This commit is contained in:
parent
061d5bf544
commit
a25f34b10f
2 changed files with 10 additions and 1 deletions
|
|
@ -6,6 +6,7 @@
|
||||||
./disk-config.nix
|
./disk-config.nix
|
||||||
../system-default.nix # Common NixOS system configuration
|
../system-default.nix # Common NixOS system configuration
|
||||||
../../../modules/desktop.nix
|
../../../modules/desktop.nix
|
||||||
|
../../../modules/wireguard.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# Desktop module configuration (disable GDM for Jovian autoStart mode)
|
# Desktop module configuration (disable GDM for Jovian autoStart mode)
|
||||||
|
|
@ -32,6 +33,15 @@
|
||||||
firewall.enable = false;
|
firewall.enable = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# WireGuard VPN configuration
|
||||||
|
services.wireguard-custom = {
|
||||||
|
enable = true;
|
||||||
|
mode = "client";
|
||||||
|
ip = "10.2.2.40/32";
|
||||||
|
serverEndpoint = "91.98.84.215:51820";
|
||||||
|
serverPublicKey = "46QHjSzAas5g9Hll1SCEu9tbR5owCxXAy6wGOUoPwUM=";
|
||||||
|
};
|
||||||
|
|
||||||
# Hardware support for Steam Deck (AMD APU)
|
# Hardware support for Steam Deck (AMD APU)
|
||||||
hardware = {
|
hardware = {
|
||||||
enableRedistributableFirmware = true;
|
enableRedistributableFirmware = true;
|
||||||
|
|
|
||||||
|
|
@ -49,7 +49,6 @@
|
||||||
setEnv = {
|
setEnv = {
|
||||||
TERM = "xterm-256color";
|
TERM = "xterm-256color";
|
||||||
};
|
};
|
||||||
proxyJump = "vps";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
"vps" = {
|
"vps" = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue