Set up /tmp

This commit is contained in:
Toast 2023-06-16 11:02:51 +02:00
parent 1c617bdbf3
commit 10404c18e3

View file

@ -1,4 +1,4 @@
{ config, pkgs, ... }:
{ config, lib, pkgs, ... }:
{
environment = {
@ -11,6 +11,13 @@
};
};
# Set up /tmp
boot.tmp = {
useTmpfs = lib.mkDefault true;
# Cleaning out /tmp at boot if it's a tmpfs is quite stupid
cleanOnBoot = !config.boot.tmp.useTmpfs;
};
# Set up secrets
age = {
identityPaths = [