diff options
| author | Grisha Shipunov | 2025-02-21 00:52:57 +0100 |
|---|---|---|
| committer | Grisha Shipunov | 2025-02-21 00:52:57 +0100 |
| commit | 8f7f58b9d1ce0a075390b7216eb142efbb36202b (patch) | |
| tree | 93dff0bc2632ab5961a4e285a69ba7e35f375cbe /hosts/toaster | |
| parent | 1e3e2d083ce8f586a47c6afe40cbb5b33c0b27c6 (diff) | |
write tmp to disk
Diffstat (limited to 'hosts/toaster')
| -rw-r--r-- | hosts/toaster/hardware-configuration.nix | 6 | ||||
| -rw-r--r-- | hosts/toaster/zfs.nix | 3 |
2 files changed, 8 insertions, 1 deletions
diff --git a/hosts/toaster/hardware-configuration.nix b/hosts/toaster/hardware-configuration.nix index 1b0fbb0..318ff03 100644 --- a/hosts/toaster/hardware-configuration.nix +++ b/hosts/toaster/hardware-configuration.nix @@ -49,6 +49,12 @@ options = [ "zfsutil" ]; }; + fileSystems."/tmp" = { + device = "zpool/nocomp/tmp"; + fsType = "zfs"; + options = [ "zfsutil" ]; + }; + fileSystems."/boot" = { device = "/dev/disk/by-uuid/A170-F83D"; fsType = "vfat"; diff --git a/hosts/toaster/zfs.nix b/hosts/toaster/zfs.nix index 70cc5c9..1970bbf 100644 --- a/hosts/toaster/zfs.nix +++ b/hosts/toaster/zfs.nix @@ -19,6 +19,7 @@ supportedFilesystems = [ "zfs" ]; kernelParams = [ "nohibernate" ]; plymouth.enable = false; - tmp.useTmpfs = true; + tmp.useTmpfs = false; + tmp.cleanOnBoot = true; }; } |
