fix(client): don't use ffmpeg unfree outside of wsl

This commit is contained in:
uku 2024-12-28 17:55:38 +01:00
parent 05d931864e
commit 272e9f06ab
Signed by: uku
SSH key fingerprint: SHA256:4P0aN6M8ajKukNi6aPOaX0LacanGYtlfjmN+m/sHY/o
2 changed files with 8 additions and 1 deletions

View file

@ -8,7 +8,7 @@
];
environment.systemPackages = with pkgs; [
(ffmpeg-full.override { withUnfree = true; })
ffmpeg-full
fastfetch
lazygit
nixd

View file

@ -36,4 +36,11 @@
mysqld.bind_address = "127.0.0.1";
};
};
system.replaceDependencies.replacements = [
{
oldDependency = pkgs.ffmpeg-full;
newDependency = (pkgs.ffmpeg-full.override { withUnfree = true; });
}
];
}