diff --git a/flake.nix b/flake.nix index fa45ec9..2b83679 100644 --- a/flake.nix +++ b/flake.nix @@ -118,6 +118,8 @@ modules = [ overlays-module ./hosts/amy/configuration.nix + ./roles/coredns + ./roles/podman.nix ./roles/postgres.nix home-manager-stable.nixosModules.home-manager { diff --git a/hosts/amy/configuration.nix b/hosts/amy/configuration.nix index 90c9165..63c958e 100644 --- a/hosts/amy/configuration.nix +++ b/hosts/amy/configuration.nix @@ -28,5 +28,18 @@ services.openssh.enable = true; networking.firewall.allowedTCPPorts = [ 22 ]; + networking = { + interfaces = { + ens18.ipv6.addresses = [{ + address = "2a02:c202:2191:6731:0000:0000:0000:0001"; + prefixLength = 64; + }]; + }; + defaultGateway6 = { + address = "fe80::1"; + interface = "ens18"; + }; + }; + system.stateVersion = "23.11"; } diff --git a/roles/podman.nix b/roles/podman.nix index 9025269..7ecf3b2 100644 --- a/roles/podman.nix +++ b/roles/podman.nix @@ -1,3 +1,7 @@ { config, pkgs, ...}: { virtualisation.podman.enable = true; + virtualisation.oci-containers.backend = "podman"; + environment.systemPackages = with pkgs; [ + podman-compose + ]; }