Configuration for my NixOS based systems and Home Manager
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Tailscale config for edge

+23 -13
+23 -13
host-specific/edge/configuration.nix
··· 2 2 # your system. Help is available in the configuration.nix(5) man page, on 3 3 # https://search.nixos.org/options and in the NixOS manual (`nixos-help`). 4 4 5 - { config, lib, pkgs, inputs, ... }: 5 + { 6 + config, 7 + lib, 8 + pkgs, 9 + inputs, 10 + ... 11 + }: 6 12 let 7 13 system = pkgs.stdenv.targetPlatform.system; 8 14 agave = (builtins.getFlake "/home/noah/repos/agave"); 9 15 in 10 16 { 11 - imports = 12 - [ # Include the results of the hardware scan. 13 - ./hardware-configuration.nix 14 - agave.nixosModules.default 15 - ]; 17 + imports = [ 18 + # Include the results of the hardware scan. 19 + ./hardware-configuration.nix 20 + agave.nixosModules.default 21 + ]; 16 22 17 - nix.settings.experimental-features = [ "nix-command" "flakes" ]; 23 + nix.settings.experimental-features = [ 24 + "nix-command" 25 + "flakes" 26 + ]; 18 27 19 28 # Use the systemd-boot EFI boot loader. 20 29 boot.loader.systemd-boot.enable = true; ··· 48 57 49 58 # Enable the X11 windowing system. 50 59 # services.xserver.enable = true; 51 - 52 - 53 - 54 60 55 61 # Configure keymap in X11 56 62 # services.xserver.xkb.layout = "us"; ··· 93 99 agave.packages.${system}.solana-keygen 94 100 ]; 95 101 102 + services.tailscale.useRoutingFeatures = "both"; 103 + 96 104 # Some programs need SUID wrappers, can be configured further or are 97 105 # started in user sessions. 98 106 # programs.mtr.enable = true; ··· 117 125 allowedUDPPorts = [ ]; 118 126 allowedUDPPortRanges = [ 119 127 # Agave 120 - { from = 8000; to = 8020; } 128 + { 129 + from = 8000; 130 + to = 8020; 131 + } 121 132 ]; 122 133 allowedTCPPorts = [ 123 134 2375 ··· 142 153 item = "nofile"; 143 154 value = "1000000"; 144 155 } 145 - ]; 156 + ]; 146 157 147 158 age.secrets.validator-identity = { 148 159 file = ./secrets/validator-identity.age; ··· 194 205 system.stateVersion = "25.11"; # Did you read the comment? 195 206 196 207 } 197 -