diff options
author | Florian Klink <flokli@flokli.de> | 2019-09-01 03:07:23 +0200 |
---|---|---|
committer | Florian Klink <flokli@flokli.de> | 2019-09-01 19:06:38 +0200 |
commit | f74735c9d7e7b978827ff17b5f8cb375753dca0b (patch) | |
tree | 75809b54a017e6ac94cf507f14cf83387299b877 /nixos/modules/services/misc/subsonic.nix | |
parent | 7f42adf7a2a6ab0f18dd441820f1089a7b2c0cfd (diff) | |
download | nixpkgs-f74735c9d7e7b978827ff17b5f8cb375753dca0b.tar nixpkgs-f74735c9d7e7b978827ff17b5f8cb375753dca0b.tar.gz nixpkgs-f74735c9d7e7b978827ff17b5f8cb375753dca0b.tar.bz2 nixpkgs-f74735c9d7e7b978827ff17b5f8cb375753dca0b.tar.lz nixpkgs-f74735c9d7e7b978827ff17b5f8cb375753dca0b.tar.xz nixpkgs-f74735c9d7e7b978827ff17b5f8cb375753dca0b.tar.zst nixpkgs-f74735c9d7e7b978827ff17b5f8cb375753dca0b.zip |
nixos: remove dependencies on local-fs.target
Since https://github.com/NixOS/nixpkgs/pull/61321, local-fs.target is part of sysinit.target again, meaning units without DefaultDependencies=no will automatically depend on it, and the manual set dependencies can be dropped.
Diffstat (limited to 'nixos/modules/services/misc/subsonic.nix')
-rw-r--r-- | nixos/modules/services/misc/subsonic.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/misc/subsonic.nix b/nixos/modules/services/misc/subsonic.nix index c1e1a7f40f0..152917d345c 100644 --- a/nixos/modules/services/misc/subsonic.nix +++ b/nixos/modules/services/misc/subsonic.nix @@ -105,7 +105,7 @@ let cfg = config.services.subsonic; in { config = mkIf cfg.enable { systemd.services.subsonic = { description = "Personal media streamer"; - after = [ "local-fs.target" "network.target" ]; + after = [ "network.target" ]; wantedBy = [ "multi-user.target" ]; script = '' ${pkgs.jre}/bin/java -Xmx${toString cfg.maxMemory}m \ |