Skip to content

Commit

Permalink
feat: add discord aarpc systemd unit
Browse files Browse the repository at this point in the history
  • Loading branch information
youwen5 committed Dec 15, 2024
1 parent a1865b4 commit 69c6613
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 1 deletion.
1 change: 1 addition & 0 deletions users/youwen/linux/desktop/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@
../programs
../hyprland/desktop
../waybar/desktop
../vesktop
];
}
1 change: 1 addition & 0 deletions users/youwen/linux/laptop/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
../programs
../hyprland/laptop
../waybar/laptop
../vesktop
];

# some overrides for laptop specifically
Expand Down
1 change: 0 additions & 1 deletion users/youwen/linux/packages/common-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ pkgs: with pkgs; [

# messengers
signal-desktop
vesktop
iamb
discordo

Expand Down
18 changes: 18 additions & 0 deletions users/youwen/linux/vesktop/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{ pkgs, ... }:
{
home.packages = [
pkgs.vesktop
];

systemd.user.services.discord-arrpc = {
Unit = {
Description = "Discord RPC server for Vesktop.";
};
Install = {
WantedBy = [ "default.target" ];
};
Service = {
ExecStart = "${pkgs.arrpc}/bin/arrpc";
};
};
}

0 comments on commit 69c6613

Please sign in to comment.