diff --git a/config/hosts/mastodon/mastodon.nix b/config/hosts/mastodon/mastodon.nix index fd5fa64..51b3afe 100644 --- a/config/hosts/mastodon/mastodon.nix +++ b/config/hosts/mastodon/mastodon.nix @@ -1,4 +1,4 @@ -{ pkgs, ... }: +{ pkgs, nixpkgs-unstable, ... }: let tangerineUI = pkgs.fetchgit { url = "https://github.com/nileane/TangerineUI-for-Mastodon.git"; @@ -40,7 +40,7 @@ let modern-dark: styles/modern-dark.scss" >> $out/config/themes.yml ''; }; - patches = [ + patches = prev.mastodon.src.patches ++ [ "${mastodonNekoversePatches}/patches/001_increase_image_dimensions_limit.patch" "${mastodonNekoversePatches}/patches/002_disable_image_reprocessing.patch" "${mastodonNekoversePatches}/patches/003_make_toot_cute.patch" diff --git a/config/hosts/mastodon/yarn.patch b/config/hosts/mastodon/yarn.patch new file mode 100644 index 0000000..82a2f77 --- /dev/null +++ b/config/hosts/mastodon/yarn.patch @@ -0,0 +1,21 @@ +diff --git a/.yarnrc.yml b/.yarnrc.yml +--- a/.yarnrc.yml ++++ b/.yarnrc.yml +@@ -1 +1,6 @@ + nodeLinker: node-modules ++ ++approvedGitRepositories: ++ - "**" ++ ++enableScripts: true +diff --git a/yarn.lock b/yarn.lock +--- a/yarn.lock ++++ b/yarn.lock +@@ -2,6 +2,6 @@ + # Manual changes might be lost - proceed with caution! + + __metadata: +- version: 8 ++ version: 9 + cacheKey: 10c0 + \ No newline at end of file