Set up /tmp
This commit is contained in:
parent
1c617bdbf3
commit
10404c18e3
1 changed files with 8 additions and 1 deletions
|
|
@ -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 = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue