Skip to content

Commit

Permalink
Merge pull request #14 from accentor/feat/transcoded_items
Browse files Browse the repository at this point in the history
Prepare config for permanent transcoded items
  • Loading branch information
chvp authored Oct 9, 2024
2 parents c9ec0d4 + 0b19d6e commit c60c2d1
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 26 deletions.
3 changes: 1 addition & 2 deletions default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,14 @@ let
BOOTSNAP_READONLY = "TRUE";
DATABASE_URL = "postgresql://%2Frun%2Fpostgresql/accentor";
FFMPEG_LOG_LOCATION = "/var/log/accentor/ffmpeg.log";
FFMPEG_VERSION_LOCATION = "${cfg.home}/ffmpeg.version";
PIDFILE = "/run/accentor/server.pid";
STATEPATH = "/run/accentor/server.state";
SOCKETFILE = "unix:///run/accentor/server.socket";
RACK_ENV = "production";
RAILS_ENV = "production";
RAILS_LOG_TO_STDOUT = "yes";
RAILS_STORAGE_PATH = "${cfg.home}/storage";
RAILS_TRANSCODE_CACHE = "/var/tmp/accentor/transcode_cache";
RAILS_TRANSCODES_PATH = "${cfg.home}/transcodes";
RUBY_ENABLE_YJIT = "1";
};
exports = concatStringsSep
Expand Down
42 changes: 21 additions & 21 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
description = "A modern music server focusing on metadata";
inputs = {
api = {
url = "github:accentor/api/v0.19.1";
url = "github:accentor/api/v0.22.0";
inputs = {
devshell.follows = "devshell";
flake-utils.follows = "flake-utils";
nixpkgs.follows = "nixpkgs";
};
};
web = {
url = "github:accentor/web/v0.32.0";
url = "github:accentor/web/v0.33.0";
inputs = {
devshell.follows = "devshell";
flake-utils.follows = "flake-utils";
Expand Down
1 change: 0 additions & 1 deletion result

This file was deleted.

0 comments on commit c60c2d1

Please sign in to comment.