mirror of
https://github.com/youwen5/nixos.git
synced 2025-01-17 20:52:09 -08:00
feat: add discord aarpc systemd unit
Some checks are pending
Check flake / check (push) Waiting to run
Some checks are pending
Check flake / check (push) Waiting to run
This commit is contained in:
parent
a1865b410f
commit
69c6613002
4 changed files with 20 additions and 1 deletions
|
@ -5,5 +5,6 @@
|
||||||
../programs
|
../programs
|
||||||
../hyprland/desktop
|
../hyprland/desktop
|
||||||
../waybar/desktop
|
../waybar/desktop
|
||||||
|
../vesktop
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
../programs
|
../programs
|
||||||
../hyprland/laptop
|
../hyprland/laptop
|
||||||
../waybar/laptop
|
../waybar/laptop
|
||||||
|
../vesktop
|
||||||
];
|
];
|
||||||
|
|
||||||
# some overrides for laptop specifically
|
# some overrides for laptop specifically
|
||||||
|
|
|
@ -28,7 +28,6 @@ pkgs: with pkgs; [
|
||||||
|
|
||||||
# messengers
|
# messengers
|
||||||
signal-desktop
|
signal-desktop
|
||||||
vesktop
|
|
||||||
iamb
|
iamb
|
||||||
discordo
|
discordo
|
||||||
|
|
||||||
|
|
18
users/youwen/linux/vesktop/default.nix
Normal file
18
users/youwen/linux/vesktop/default.nix
Normal file
|
@ -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";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue