zooi
This commit is contained in:
parent
96290797cc
commit
995e6597d0
@ -67,10 +67,16 @@
|
|||||||
pkg-config
|
pkg-config
|
||||||
fontconfig
|
fontconfig
|
||||||
jetbrains.datagrip
|
jetbrains.datagrip
|
||||||
|
firefox
|
||||||
|
dig
|
||||||
|
python3
|
||||||
|
ansible
|
||||||
|
nodejs_20
|
||||||
];
|
];
|
||||||
|
|
||||||
services.owncloud-client = {
|
services.nextcloud-client = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
startInBackground = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
services.dunst.enable = true;
|
services.dunst.enable = true;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# networking.nix
|
# networking.nix
|
||||||
|
|
||||||
# Import the necessary modules
|
# Import the necessary modules
|
||||||
{ config, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
# Set the network interface configuration
|
# Set the network interface configuration
|
||||||
@ -16,39 +16,39 @@
|
|||||||
# networking.firewall.enable = true;
|
# networking.firewall.enable = true;
|
||||||
|
|
||||||
# Enable WireGuard
|
# Enable WireGuard
|
||||||
networking.wireguard.interfaces = {
|
# networking.wireguard.interfaces = {
|
||||||
# "wg0" is the network interface name. You can name the interface arbitrarily.
|
# # "wg0" is the network interface name. You can name the interface arbitrarily.
|
||||||
wg0 = {
|
# wg0 = {
|
||||||
# Determines the IP address and subnet of the client's end of the tunnel interface.
|
# # Determines the IP address and subnet of the client's end of the tunnel interface.
|
||||||
ips = [ "10.100.0.2/24" ];
|
# ips = [ "10.100.0.2/32" ];
|
||||||
listenPort = 51820; # to match firewall allowedUDPPorts (without this wg uses random port numbers)
|
# listenPort = 51820; # to match firewall allowedUDPPorts (without this wg uses random port numbers)
|
||||||
|
|
||||||
# Path to the private key file.
|
|
||||||
#
|
#
|
||||||
# Note: The private key can also be included inline via the privateKey option,
|
# # Path to the private key file.
|
||||||
# but this makes the private key world-readable; thus, using privateKeyFile is
|
# #
|
||||||
# recommended.
|
# # Note: The private key can also be included inline via the privateKey option,
|
||||||
privateKeyFile = "/etc/wireguard/private";
|
# # but this makes the private key world-readable; thus, using privateKeyFile is
|
||||||
|
# # recommended.
|
||||||
peers = [
|
# privateKeyFile = "/etc/wireguard/private";
|
||||||
{
|
#
|
||||||
# Public key of the server (not a file path).
|
# peers = [
|
||||||
publicKey = "Q6kxhwGhqOyaGyyO4lum83WpJqjsj71Ab4gvUau2zCI=";
|
# {
|
||||||
|
# # Public key of the server (not a file path).
|
||||||
# Forward all the traffic via VPN.
|
# publicKey = "50NPXiWR+l3nwS/fRUESOt9bMnS3L19aHG7lgxcFBlo=";
|
||||||
allowedIPs = [ "0.0.0.0/0" ];
|
#
|
||||||
# Or forward only particular subnets
|
# # Forward all the traffic via VPN.
|
||||||
#allowedIPs = [ "10.100.0.1" "91.108.12.0/22" ];
|
# allowedIPs = [ "0.0.0.0/0" ];
|
||||||
|
# # Or forward only particular subnets
|
||||||
# Set this to the server IP and port.
|
# #allowedIPs = [ "10.100.0.1" "91.108.12.0/22" ];
|
||||||
endpoint = "192.168.2.11:51820"; # ToDo: route to endpoint not automatically configured https://wiki.archlinux.org/index.php/WireGuard#Loop_routing https://discourse.nixos.org/t/solved-minimal-firewall-setup-for-wireguard-client/7577
|
#
|
||||||
|
# # Set this to the server IP and port.
|
||||||
# Send keepalives every 25 seconds. Important to keep NAT tables alive.
|
# endpoint = "192.168.2.253:51820"; # ToDo: route to endpoint not automatically configured https://wiki.archlinux.org/index.php/WireGuard#Loop_routing https://discourse.nixos.org/t/solved-minimal-firewall-setup-for-wireguard-client/7577
|
||||||
persistentKeepalive = 25;
|
#
|
||||||
}
|
# # Send keepalives every 25 seconds. Important to keep NAT tables alive.
|
||||||
];
|
# persistentKeepalive = 25;
|
||||||
};
|
# }
|
||||||
};
|
# ];
|
||||||
|
# };
|
||||||
|
# };
|
||||||
|
|
||||||
# Set the hostname
|
# Set the hostname
|
||||||
networking.hostName = "pc-mans";
|
networking.hostName = "pc-mans";
|
||||||
|
Loading…
Reference in New Issue
Block a user