diff options
Diffstat (limited to 'nix')
-rw-r--r-- | nix/configuration.nix | 5 | ||||
-rw-r--r-- | nix/deuxfleurs.nix | 7 |
2 files changed, 11 insertions, 1 deletions
diff --git a/nix/configuration.nix b/nix/configuration.nix index d88d6ef..68751a2 100644 --- a/nix/configuration.nix +++ b/nix/configuration.nix @@ -65,6 +65,9 @@ SystemMaxUse=1G wireguard-tools ]; + # Enable support for all terminal emulators such as urxvt + environment.enableAllTerminfo = true; + programs.vim.defaultEditor = true; # Enable network time @@ -73,7 +76,7 @@ SystemMaxUse=1G # Enable the OpenSSH daemon and disable password login. services.openssh.enable = true; - services.openssh.passwordAuthentication = false; + services.openssh.settings.PasswordAuthentication = false; virtualisation.docker = { enable = true; diff --git a/nix/deuxfleurs.nix b/nix/deuxfleurs.nix index 7b9065e..f9fd068 100644 --- a/nix/deuxfleurs.nix +++ b/nix/deuxfleurs.nix @@ -204,6 +204,13 @@ in # link-local addresses networkConfig.IPv6AcceptRA = mkIf noRA false; networkConfig.LinkLocalAddressing = mkIf noRA "no"; + + # By default, systemd-networkd may try to use DHCPv6 depending on RA flags. + # Disable DHCPv6 client and IPv6 Prefix Delegation in all cases. + ipv6AcceptRAConfig.DHCPv6Client = false; + dhcpV6Config.UseAddress = false; + dhcpV6Config.UseDelegatedPrefix = false; + }; # Configure Unbound as a central DNS server for everything |