summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrigory Shipunov2023-04-22 15:50:33 +0200
committerGrigory Shipunov2023-04-22 15:50:33 +0200
commitbe0207883e439bda5498cefff821c86187329faf (patch)
treee46b7f146a544e146c9d3e4b28f6c00f23e588ec
parenta7025f4ad6911b084a44cef92678559eb50a5be3 (diff)
option rename
-rw-r--r--hosts/microwave/configuration.nix2
-rw-r--r--hosts/toaster/zfs.nix4
2 files changed, 3 insertions, 3 deletions
diff --git a/hosts/microwave/configuration.nix b/hosts/microwave/configuration.nix
index 0f2860b..79d280e 100644
--- a/hosts/microwave/configuration.nix
+++ b/hosts/microwave/configuration.nix
@@ -36,7 +36,7 @@
kernelParams = [ "nohibernate" ];
zfs.devNodes = "/dev/";
plymouth.enable = false;
- tmpOnTmpfs = true;
+ tmp.useTmpfs = true;
};
services.zfs = {
diff --git a/hosts/toaster/zfs.nix b/hosts/toaster/zfs.nix
index a7e9d7a..f4bdeea 100644
--- a/hosts/toaster/zfs.nix
+++ b/hosts/toaster/zfs.nix
@@ -1,4 +1,4 @@
-{ config, pkgs, ... }: {
+{ pkgs, ... }: {
services.fstrim.enable = true;
services.zfs = {
autoSnapshot.enable = true;
@@ -14,6 +14,6 @@
supportedFilesystems = [ "zfs" ];
kernelParams = [ "nohibernate" ];
plymouth.enable = false;
- tmpOnTmpfs = true;
+ tmp.useTmpfs = true;
};
}