summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorGrisha Shipunov2025-12-14 16:09:38 +0100
committerGrisha Shipunov2025-12-23 10:31:58 +0100
commit596e38ad7a9f10bfbbb03e79e166271d9e0c44ac (patch)
treefc693ad9724c0ad85f5e1c736d935560d001cd82 /modules
parent5e606b62c0a6f27227e8d3a4adc3d9c9a8a20d1e (diff)
update zfs kernel
Diffstat (limited to 'modules')
-rw-r--r--modules/zfs-common.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/zfs-common.nix b/modules/zfs-common.nix
new file mode 100644
index 0000000..822c106
--- /dev/null
+++ b/modules/zfs-common.nix
@@ -0,0 +1,10 @@
+{ pkgs, ... }:
+
+{
+ boot = {
+ kernelPackages = pkgs.linuxKernel.packages.linux_6_18;
+ zfs.package = pkgs.zfs_2_4;
+ supportedFilesystems = [ "zfs" ];
+ kernelParams = [ "nohibernate" ];
+ };
+}