Enable CLATD by default
This commit is contained in:
parent
fe775e2fad
commit
dba9e23c90
3 changed files with 12 additions and 18 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue