Enable CLATD by default

This commit is contained in:
Vili Sinervä 2025-06-22 16:20:44 +03:00
parent fe775e2fad
commit dba9e23c90
Signed by: Vili Sinervä
SSH key fingerprint: SHA256:FladqYjaE4scJY3Hi+gnShZ6ygnTJgixy0I6BAoHyos
3 changed files with 12 additions and 18 deletions

View file

@ -94,7 +94,7 @@
set -s escape-time 0
'';
######################################## SSH configuration #########################
######################################## SSH configuration ######################################
services.openssh = {
enable = true;
settings.PasswordAuthentication = false;
@ -128,9 +128,6 @@
};
time.timeZone = "Europe/Helsinki";
######################################## Memory management ######################################
zramSwap.enable = true;
######################################## Housekeeping ###########################################
system.autoUpgrade = {
enable = true;
@ -166,17 +163,24 @@
};
};
######################################## Misc. ##################################################
######################################## Networking. ############################################
networking = {
# Easiest to use and most distros use this by default.
networkmanager = {
enable = true;
# Use EUI-64 addresses by default, so that addresses are predictable
settings."connection"."ipv6.addr-gen-mode" = 0;
settings."connection" = {
"ipv4.dhcp-ipv6-only-preferred" = 1;
"ipv6.addr-gen-mode" = 0;
};
};
# IPv6 privacy addresses for outgoing traffic
tempAddresses = "default";
};
services.clatd.enable = true;
######################################## Misc. ##################################################
zramSwap.enable = true;
users.mutableUsers = false; # Force all user management to happen throught nix-files