diff options
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; }; } |
