diff options
Diffstat (limited to 'hostnix/elmo/system.nix')
| -rw-r--r-- | hostnix/elmo/system.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/hostnix/elmo/system.nix b/hostnix/elmo/system.nix index 311338f..871999d 100644 --- a/hostnix/elmo/system.nix +++ b/hostnix/elmo/system.nix @@ -4,6 +4,8 @@ boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; + boot.tmp.useTmpfs = true; + networking.hostName = "elmo"; networking.domain = "mou.fo"; @@ -11,6 +13,11 @@ time.timeZone = "America/New_York"; + # https://github.com/NixOS/nixpkgs/issues/54707#issuecomment-1132907191 + systemd.services.nix-daemon = { + environment.TMPDIR = "/var/tmp"; + }; + # https://nixos.wiki/wiki/Hardware/Apple#Auto_Restart systemd.services.enable-autorestart = { description = "Boot after power failure (server mode)"; |
