From 4185127c3ebad69d94ce18b17897ce2425f201d4 Mon Sep 17 00:00:00 2001 From: Adrian Gunnar Lauterer Date: Tue, 3 Feb 2026 11:15:54 +0100 Subject: [PATCH] fix qbit --- modules/qbittorrent.nix | 2 +- modules/zfs.nix | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/qbittorrent.nix b/modules/qbittorrent.nix index a3d4f67..fbece55 100644 --- a/modules/qbittorrent.nix +++ b/modules/qbittorrent.nix @@ -72,7 +72,7 @@ in TempPath = "/Main/Data/media/Downloads/temp"; TempPathEnabled = true; TorrentContentLayout = "Subfolder"; - TorrentExportDirectory = dataLocation "Downloads/torrents"; + TorrentExportDirectory = dataLocation + "Downloads/torrents"; UseAlternativeGlobalSpeedLimit = false; }; }; diff --git a/modules/zfs.nix b/modules/zfs.nix index cede860..8fa2f52 100644 --- a/modules/zfs.nix +++ b/modules/zfs.nix @@ -6,11 +6,11 @@ }: { boot.supportedFilesystems = [ "zfs" ]; - boot.zfs.forceImportRoot = false; + boot.zfs.forceImportRoot = lib.mkDefault false; services.zfs.trim.enable = true; services.zfs.autoScrub.enable = true; services.zfs.autoSnapshot.enable = true; - services.zfs.autoSnapshot.flags = "-k -p --utc"; + services.zfs.autoSnapshot.flags = lib.mkDefault "-k -p --utc"; environment.systemPackages = with pkgs; [ zfs