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