mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-12-23 02:36:05 +01:00
base: clean tmp on boot
This commit is contained in:
parent
3d5acb67c4
commit
79129ca84b
@ -39,7 +39,6 @@
|
||||
|
||||
# Select internationalisation properties.
|
||||
i18n.defaultLocale = "en_US.UTF-8";
|
||||
|
||||
i18n.extraLocaleSettings = {
|
||||
LC_ADDRESS = "de_DE.UTF-8";
|
||||
LC_IDENTIFICATION = "de_DE.UTF-8";
|
||||
@ -52,8 +51,11 @@
|
||||
LC_TIME = "de_DE.UTF-8";
|
||||
};
|
||||
|
||||
# Configure console keymap.
|
||||
console.keyMap = "de-latin1-nodeadkeys";
|
||||
console = {
|
||||
#font = "Lat2-Terminus16";
|
||||
# Configure console keymap.
|
||||
keyMap = "de-latin1-nodeadkeys";
|
||||
};
|
||||
|
||||
# Define a user account. Don't forget to set a password with `passwd`.
|
||||
users.users.yoda = {
|
||||
@ -88,6 +90,9 @@
|
||||
options = "--delete-older-than 7d";
|
||||
};
|
||||
|
||||
# Delete all files in /tmp during boot.
|
||||
boot.tmp.cleanOnBoot = true;
|
||||
|
||||
# Firewall.
|
||||
# https://nixos.wiki/wiki/Firewall
|
||||
# -> Firewall rules may be overwritten by docker, as per https://github.com/NixOS/nixpkgs/issues/111852
|
||||
|
Loading…
Reference in New Issue
Block a user