mirror of
https://github.com/nix-community/home-manager.git
synced 2025-03-31 04:04:32 +00:00
Update modules/services/mpdscribble.nix
Co-authored-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
parent
be7594151e
commit
eb12c48ea7
1 changed files with 4 additions and 0 deletions
|
@ -121,6 +121,10 @@ in {
|
|||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
assertions = [
|
||||
(lib.hm.assertions.assertPlatform "services.mpdscribble" pkgs
|
||||
lib.platforms.linux)
|
||||
];
|
||||
systemd.user.services.mpdscribble = let
|
||||
localMpd = (cfg.host == "localhost" || cfg.host == "127.0.0.1");
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue