feat(amy): add ipv6 config, podman, enable coredns
This commit is contained in:
parent
52746dbed7
commit
a6d9603b83
3 changed files with 19 additions and 0 deletions
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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";
|
||||
}
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
{ config, pkgs, ...}: {
|
||||
virtualisation.podman.enable = true;
|
||||
virtualisation.oci-containers.backend = "podman";
|
||||
environment.systemPackages = with pkgs; [
|
||||
podman-compose
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue