diff --git a/configuration.nix b/configuration.nix index e8fee2c..72c183f 100644 --- a/configuration.nix +++ b/configuration.nix @@ -14,20 +14,31 @@ value = "8192"; }]; nix.settings.experimental-features = [ "nix-command" "flakes" ]; + nix.settings.trusted-users = [ "administration" ]; nix.settings.download-buffer-size = 6710886400; - boot.loader.grub.enable = true; + # boot.loader.grub.enable = true; boot.loader.grub.device = "/dev/sda"; # or "nodev" for efi only + boot.loader.grub.enable = true; + boot.loader.grub.efiSupport = true; + boot.loader.grub.efiInstallAsRemovable = true; networking.hostName = "authentik"; networking.domain = "test.htw.stura-dresden.de"; networking.interfaces.ens18.ipv4.addresses = [ { - address = "141.56.51.18"; - prefixLength = 24; + address = "167.235.225.23"; + prefixLength = 32; } ]; - networking.defaultGateway.address = "141.56.51.254"; - networking.nameservers = [ "141.56.1.1" "141.56.1.2" ]; + + networking.interfaces.ens18.ipv6.addresses = [ + { + address = "2a01:4f8:c012:6bd7::1"; + prefixLength = 32; + } + ]; + networking.defaultGateway.address = "172.31.1.1"; + networking.nameservers = [ "9.9.9.9" "1.1.1.1" ]; time.timeZone = "Europe/Berlin"; @@ -40,7 +51,8 @@ users.users.administration = { isNormalUser = true; - extraGroups = [ "wheel" "docker" ]; # Enable ‘sudo’ for the user. + initialPassword = "test"; + extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user. openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINABEf0jBjtDdezDDtvl1v27l0DbHP2XUgMARTZXC+MR goeranh@node5" "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDmYHNdtPmQqvNINEWJgqEojrye+wQKr0S0VwlGv7xUa goeranh@node7" @@ -157,7 +169,7 @@ }; services.dovecot2.mailLocation = lib.mkForce "maildir:/var/vmail/%n"; - services.postfix.relayHost = "141.56.51.14"; + # services.postfix.relayHost = "141.56.51.14"; # virtualisation.docker.enable = true;