Merge branch 'master' of https://git.atagen.co/atagen/nix
This commit is contained in:
commit
d5e28844a7
2 changed files with 2 additions and 19 deletions
|
@ -20,25 +20,6 @@
|
|||
|
||||
networking.useDHCP = lib.mkDefault true;
|
||||
|
||||
networking.wireguard = {
|
||||
enable = true;
|
||||
interfaces = {
|
||||
pond = {
|
||||
ips = [ "10.4.20.3/32" ];
|
||||
listenPort = 51820;
|
||||
privateKeyFile = "/root/pond.priv";
|
||||
peers = [
|
||||
{
|
||||
publicKey = "ll0/+7bbaAFgCuUOj0s0twHalXLxcXOtkxJbtw/egV4=";
|
||||
allowedIPs = [ "10.4.20.0/24" ];
|
||||
endpoint = "141.164.52.106:51821";
|
||||
persistentKeepalive = 20;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
networking.hostName = "adrift"; # Define your hostname.
|
||||
|
|
|
@ -88,6 +88,8 @@
|
|||
|
||||
services.tailscale.enable = true;
|
||||
|
||||
services.tailscale.enable = true;
|
||||
|
||||
# rust
|
||||
nixpkgs.overlays = [
|
||||
(import "${fetchTarball "https://github.com/nix-community/fenix/archive/main.tar.gz"}/overlay.nix")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue