diff options
| author | Isabella Bastaja <isabella@sorre.xyz> | 2026-05-24 09:20:32 +0200 |
|---|---|---|
| committer | Isabella Bastaja <isabella@sorre.xyz> | 2026-05-24 09:20:49 +0200 |
| commit | 8959cbf02499a995374816d8640687ad97d3fd73 (patch) | |
| tree | 8ddef89714dbfdb0d90fd911c319bd7c585f13ac /hosts/sagittarius/default.nix | |
| parent | febcd601370e4fdac61a4d7560e6328243ffc75a (diff) | |
sagittarius: move all network config into one file
Diffstat (limited to 'hosts/sagittarius/default.nix')
| -rw-r--r-- | hosts/sagittarius/default.nix | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/hosts/sagittarius/default.nix b/hosts/sagittarius/default.nix index 2b3e3db..b9d7683 100644 --- a/hosts/sagittarius/default.nix +++ b/hosts/sagittarius/default.nix @@ -10,27 +10,13 @@ ./ssh.nix ./web ./sops.nix + ./network.nix ]; boot.loader.grub.device = "/dev/sda"; time.timeZone = "Europe/Helsinki"; environment.systemPackages = [ pkgs.rclone ]; - networking = { - hostName = "sagittarius"; - useNetworkd = true; - firewall.allowedTCPPorts = [ 22 ]; - }; - systemd.network = { - enable = true; - networks."10-wan" = { - matchConfig.Name = "enp1s0"; - networkConfig.DHCP = "ipv4"; - address = [ "2a01:4f9:c012:c7a7::1/64" ]; - routes = [ { Gateway = "fe80::1"; } ]; - }; - }; - virtualisation.podman = { enable = true; autoPrune.enable = true; |
