mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-05-02 23:24:50 +02:00
system: Clean /tmp on boot
Necessary since /tmp is no longer a tmpfs.
This commit is contained in:
parent
d452e982e3
commit
a18a120634
@ -10,7 +10,10 @@ let
|
|||||||
stateVersion = "22.11";
|
stateVersion = "22.11";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
boot.loader = {
|
boot = {
|
||||||
|
tmp.cleanOnBoot = true;
|
||||||
|
|
||||||
|
loader = {
|
||||||
systemd-boot = {
|
systemd-boot = {
|
||||||
enable = true;
|
enable = true;
|
||||||
editor = false;
|
editor = false;
|
||||||
@ -20,6 +23,7 @@ in
|
|||||||
timeout = 0;
|
timeout = 0;
|
||||||
efi.canTouchEfiVariables = true;
|
efi.canTouchEfiVariables = true;
|
||||||
};
|
};
|
||||||
|
};
|
||||||
|
|
||||||
systemd = {
|
systemd = {
|
||||||
extraConfig = "DefaultTimeoutStopSec=10s";
|
extraConfig = "DefaultTimeoutStopSec=10s";
|
||||||
|
Loading…
Reference in New Issue
Block a user