diff --git a/users/youwen/linux/desktop/default.nix b/users/youwen/linux/desktop/default.nix index c147434..35c559c 100644 --- a/users/youwen/linux/desktop/default.nix +++ b/users/youwen/linux/desktop/default.nix @@ -5,5 +5,6 @@ ../programs ../hyprland/desktop ../waybar/desktop + ../vesktop ]; } diff --git a/users/youwen/linux/laptop/default.nix b/users/youwen/linux/laptop/default.nix index 8a422b2..23b9a62 100644 --- a/users/youwen/linux/laptop/default.nix +++ b/users/youwen/linux/laptop/default.nix @@ -6,6 +6,7 @@ ../programs ../hyprland/laptop ../waybar/laptop + ../vesktop ]; # some overrides for laptop specifically diff --git a/users/youwen/linux/packages/common-packages.nix b/users/youwen/linux/packages/common-packages.nix index 9cbf84c..f1352d8 100644 --- a/users/youwen/linux/packages/common-packages.nix +++ b/users/youwen/linux/packages/common-packages.nix @@ -28,7 +28,6 @@ pkgs: with pkgs; [ # messengers signal-desktop - vesktop iamb discordo diff --git a/users/youwen/linux/vesktop/default.nix b/users/youwen/linux/vesktop/default.nix new file mode 100644 index 0000000..0a4cc01 --- /dev/null +++ b/users/youwen/linux/vesktop/default.nix @@ -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"; + }; + }; +}