framework-2024-09-30-15-42-04
This commit is contained in:
@ -1,5 +1,19 @@
|
||||
{ config, pkgs, lib, ... }:
|
||||
{
|
||||
boot = {
|
||||
tmp = {
|
||||
useTmpfs = true;
|
||||
cleanOnBoot = true;
|
||||
};
|
||||
# kernelParams = [ "quiet" ];
|
||||
consoleLogLevel = 0;
|
||||
kernel.sysctl = { "vm.max_map_count" = 262144; };
|
||||
initrd.systemd.enable = (!config.boot.swraid.enable && !config.boot.isContainer);
|
||||
};
|
||||
|
||||
# Work around for https://github.com/NixOS/nixpkgs/issues/124215
|
||||
documentation.info.enable = false;
|
||||
|
||||
environment = {
|
||||
# Don't install the /lib/ld-linux.so.2 stub. This saves one instance of nixpkgs.
|
||||
ldso32 = null;
|
||||
@ -65,6 +79,14 @@
|
||||
];
|
||||
};
|
||||
|
||||
i18n = {
|
||||
defaultLocale = "en_US.UTF-8";
|
||||
extraLocaleSettings = {
|
||||
LANGUAGE = "en_US.UTF-8";
|
||||
LC_ALL = "en_US.UTF-8";
|
||||
};
|
||||
};
|
||||
|
||||
networking = {
|
||||
nameservers = [ "127.0.0.1" ];
|
||||
# If using dhcpcd:
|
||||
@ -203,7 +225,6 @@
|
||||
# services."serial-getty@".environment.TERM = "xterm-256color";
|
||||
};
|
||||
|
||||
|
||||
system.activationScripts.update-diff = {
|
||||
supportsDryActivation = true;
|
||||
text = ''
|
||||
@ -214,18 +235,4 @@
|
||||
fi
|
||||
'';
|
||||
};
|
||||
|
||||
boot = {
|
||||
tmp = {
|
||||
useTmpfs = true;
|
||||
cleanOnBoot = true;
|
||||
};
|
||||
# kernelParams = [ "quiet" ];
|
||||
consoleLogLevel = 0;
|
||||
kernel.sysctl = { "vm.max_map_count" = 262144; };
|
||||
initrd.systemd.enable = (!config.boot.swraid.enable && !config.boot.isContainer);
|
||||
};
|
||||
|
||||
# Work around for https://github.com/NixOS/nixpkgs/issues/124215
|
||||
documentation.info.enable = false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user