mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-08 19:46:05 +01:00
arrpc: assert linux
Only has systemd support, so don't let darwin users think they are enabling something. Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
parent
0f9fae161d
commit
cfe397c8c0
1 changed files with 5 additions and 0 deletions
|
|
@ -33,6 +33,11 @@ in
|
|||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
# NOTE: Currently only systemd implemented
|
||||
assertions = [
|
||||
(lib.hm.assertions.assertPlatform "services.arrpc" pkgs lib.platforms.linux)
|
||||
];
|
||||
|
||||
systemd.user.services.arRPC = {
|
||||
Unit = {
|
||||
Description = "Discord Rich Presence for browsers, and some custom clients";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue