Personal-use NixOS configuration
0
fork

Configure Feed

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

Switch to 10. address

encode42 84336899 4a608f1e

+19 -1
+1 -1
hosts/index/config/ssh.nix
··· 5 5 }; 6 6 7 7 extraConfig = '' 8 - Match Address 192.168.1.0/24 8 + Match Address 10.0.0.0/16 9 9 AllowUsers * 10 10 ''; 11 11 };
+18
hosts/index/default.nix
··· 5 5 ... 6 6 }: 7 7 8 + let 9 + interface = "enp7s0"; 10 + in 8 11 { 9 12 imports = [ 10 13 nixos-hardware.nixosModules.common-pc-ssd ··· 65 68 ]; 66 69 67 70 boot.kernelPackages = pkgs.linuxPackages_hardened; 71 + 72 + networking = { 73 + interfaces.${interface} = { 74 + ipv4.addresses = [{ 75 + address = "10.0.0.2"; 76 + prefixLength = 16; 77 + }]; 78 + }; 79 + 80 + defaultGateway = { 81 + inherit interface; 82 + 83 + address = "10.0.0.1"; 84 + }; 85 + }; 68 86 69 87 time.timeZone = "US/Eastern"; 70 88