You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
853 B
38 lines
853 B
# common/default.nix
|
|
|
|
# inputs to this NixOS module. We don't use any here
|
|
# so we can ignore them all.
|
|
{ ... }:
|
|
|
|
{
|
|
imports = [
|
|
# User account definitions
|
|
./users
|
|
];
|
|
|
|
# clean /tmp on boot.
|
|
boot.cleanTmpDir = true;
|
|
|
|
# Automatically optimize the Nix store to save space
|
|
# by hard-linking identical files together. These savings
|
|
# add up.
|
|
#nix.settings.autoOptimiseStore = true;
|
|
|
|
# Limit the systemd journal to 100 MB of disk or the
|
|
# last 7 days of logs, whichever happens first.
|
|
services.journald.extraConfig = ''
|
|
SystemMaxUse=100M
|
|
MaxFileSec=7day
|
|
'';
|
|
|
|
# Use systemd-resolved for DNS lookups, but disable
|
|
# its dnssec support because it is kinda broken in
|
|
# surprising ways.
|
|
|
|
# Who is surprised that dnssec is broken? no one.
|
|
# services.resolved = {
|
|
# enable = true;
|
|
# dnssec = "false";
|
|
# };
|
|
}
|