diff options
author | Dominique Martinet @ jormungand <asmadeus@codewreck.org> | 2020-05-09 18:02:07 +0200 |
---|---|---|
committer | Dominique Martinet @ jormungand <asmadeus@codewreck.org> | 2020-05-09 20:52:15 +0200 |
commit | 02e598fdb702faeb17268a0b69223485177d21f8 (patch) | |
tree | 272312709e4efd4201660af8ae7cc042f8422629 /machines/jormungand | |
parent | 61d356168248784a312f753480929e6e8ae92249 (diff) |
ashuffle: move out of container
Diffstat (limited to 'machines/jormungand')
-rw-r--r-- | machines/jormungand/configuration.nix | 1 | ||||
-rw-r--r-- | machines/jormungand/containers.nix | 12 |
2 files changed, 1 insertions, 12 deletions
diff --git a/machines/jormungand/configuration.nix b/machines/jormungand/configuration.nix index 2bb93a7..2d44ab3 100644 --- a/machines/jormungand/configuration.nix +++ b/machines/jormungand/configuration.nix @@ -8,6 +8,7 @@ ../../modules/common.nix ../../modules/users.nix ./nginx.nix + ../../modules/ashuffle.nix ./containers.nix ]; diff --git a/machines/jormungand/containers.nix b/machines/jormungand/containers.nix index 19e321c..737091c 100644 --- a/machines/jormungand/containers.nix +++ b/machines/jormungand/containers.nix @@ -55,18 +55,6 @@ let targetConfig = { ''; }; environment.systemPackages = with pkgs; [ ashuffle soundfont-fluid ]; - systemd.services.ashuffle = { - description = "Automagically adds songs"; - path = [ pkgs.ashuffle ]; - after = [ "mpd.service" ]; - serviceConfig = { - Type = "simple"; - ExecStart = "${pkgs.ashuffle}/bin/ashuffle --queue-buffer 1 -e album drama -e title instrumental -e title 'off vocal'"; - Restart = "always"; - DynamicUser = true; - }; - wantedBy = [ "default.target" ]; - }; }; }; |