update gotosocial and use headless library overlay on servers
This commit is contained in:
parent
ac2d940df5
commit
3525b8e29e
|
@ -13,13 +13,17 @@ final: prev: rec {
|
|||
cp -r ${./kitty-terminfo}/* $out/share
|
||||
'';
|
||||
|
||||
owncast = prev.owncast.override {
|
||||
ffmpeg = final.ffmpeg_6-headless;
|
||||
};
|
||||
|
||||
gotosocial = prev.gotosocial.overrideAttrs (_old: let
|
||||
owner = "superseriousbusiness";
|
||||
repo = "gotosocial";
|
||||
|
||||
version = "0.11.1";
|
||||
source-hash = "sha256-qsgrHPQae1+LKF2y6e256ZfYR+a9ffe7oq1W3GJA1do=";
|
||||
web-assets-hash = "sha256-xPdSwsXjyjodgEHlwl4X32Pb6TniwM9Q+u56xAoY7SQ=";
|
||||
version = "0.12.1";
|
||||
source-hash = "sha256-4iNvlNjq8sQr++Z+QSY17bHxFd5bxOH4abMFEAh5W9w=";
|
||||
web-assets-hash = "sha256-f7nBrt9JDVng0tSHIgorKcam4FtFaxiAdrXgo+QM7vw=";
|
||||
|
||||
web-assets = final.fetchurl {
|
||||
url = "https://github.com/${owner}/${repo}/releases/download/v${version}/${repo}_${version}_web-assets.tar.gz";
|
||||
|
|
|
@ -1,4 +1,10 @@
|
|||
{tree, ...}: {
|
||||
{
|
||||
tree,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
inherit (lib.modules) mkDefault;
|
||||
in {
|
||||
imports = with tree; [
|
||||
users.root
|
||||
|
||||
|
@ -19,6 +25,8 @@
|
|||
checkReversePath = "loose";
|
||||
};
|
||||
|
||||
environment.noXlibs = mkDefault true;
|
||||
|
||||
# TODO: Better DNS setup
|
||||
services.resolved.enable = false;
|
||||
environment.etc."resolv.conf".text = ''
|
||||
|
|
Loading…
Reference in a new issue