setup stuff for wireguard server/clients

This commit is contained in:
2024-02-04 18:33:09 +01:00
parent 712dea6554
commit a749063f0f
5 changed files with 5 additions and 3 deletions

View File

@@ -20,6 +20,7 @@
boot.loader.grub.device = "/dev/sda"; # or "nodev" for efi only boot.loader.grub.device = "/dev/sda"; # or "nodev" for efi only
boot.kernel.sysctl = { boot.kernel.sysctl = {
"net.ipv6.conf.all.forwarding" = 1; "net.ipv6.conf.all.forwarding" = 1;
"net.ipv4.ip_forward" = 1;
}; };
networking.hostName = "junk"; # Define your hostname. networking.hostName = "junk"; # Define your hostname.

Submodule private updated: b4a7502405...de57dc9538

View File

@@ -3,6 +3,6 @@
scp ./configuration.nix junk:/etc/nixos scp ./configuration.nix junk:/etc/nixos
scp ./server.nix junk:/etc/nixos scp ./server.nix junk:/etc/nixos
scp ./junk.nix junk:/etc/nixos scp ./junk.nix junk:/etc/nixos
scp ./dnsmasq.hosts junk:/ scp ./private/junk.nix junk:/etc/nixos/private
ssh junk nixos-rebuild switch ssh junk nixos-rebuild switch

View File

@@ -17,7 +17,7 @@
shell = pkgs.fish; shell = pkgs.fish;
}; };
users.users.root.hashedPassword = "!"; users.users.root.hashedPassword = "!";
users.mutableUsers = false; users.mutableUsers = true;
services.gvfs.enable = true; services.gvfs.enable = true;
# services.flatpak.enable = true; # services.flatpak.enable = true;

View File

@@ -5,6 +5,7 @@
[ # Include the results of the hardware scan. [ # Include the results of the hardware scan.
<nixos-hardware/lenovo/thinkpad/x230> <nixos-hardware/lenovo/thinkpad/x230>
./workstation.nix ./workstation.nix
private/x230.nix
]; ];
# Use the GRUB 2 boot loader. # Use the GRUB 2 boot loader.