From 71f8ab78ae8eaa7b6df2bf7ab5bf58e80bd4829c Mon Sep 17 00:00:00 2001 From: mjallen18 Date: Tue, 5 Mar 2024 14:07:45 -0600 Subject: [PATCH] enable trimm --- hosts/default.nix | 2 ++ hosts/nas/configuration.nix | 3 +++ modules/apps/jellyfin/options.nix | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/hosts/default.nix b/hosts/default.nix index 9e6b6b9..122e11e 100644 --- a/hosts/default.nix +++ b/hosts/default.nix @@ -18,6 +18,8 @@ in { # Enable non free nixpkgs.config.allowUnfree = true; + services.fstrim.enable = lib.mkDefault true; + # Hardware configs hardware = { # Bluetooth diff --git a/hosts/nas/configuration.nix b/hosts/nas/configuration.nix index 028454e..ed21f02 100644 --- a/hosts/nas/configuration.nix +++ b/hosts/nas/configuration.nix @@ -282,6 +282,9 @@ in { nix-ld binutils gcc + cmake + ffmpeg + ninja nodejs-18_x nut ]; diff --git a/modules/apps/jellyfin/options.nix b/modules/apps/jellyfin/options.nix index b3dffa9..33d573f 100644 --- a/modules/apps/jellyfin/options.nix +++ b/modules/apps/jellyfin/options.nix @@ -35,7 +35,7 @@ with lib; { tvPath = mkOption { type = types.str; - default = "/mnt/mainpool/Tv"; + default = "/mnt/mainpool/TV"; }; puid = mkOption {