Use nixpkgs armcord

This commit is contained in:
Natsu Kagami 2023-03-06 13:40:02 +01:00
parent 7dcae75a7d
commit f3b35486af
Signed by: nki
GPG key ID: 7306B3D3C3AD6E51

View file

@ -1,13 +1,9 @@
{ pkgs, config, lib, ... }: { pkgs, config, lib, ... }:
let let
discord = pkgs.writeShellApplication { discord = pkgs.writeShellScriptBin "discord" ''
name = "discord"; ${pkgs.armcord}/bin/armcord --force-device-scale-factor=1.5 ts-out/main.js "$@"
runtimeInputs = with pkgs; [ nodejs pkgs.unstable.electron ]; '';
text = ''
cd ~/Projects/ArmCord/ && electron --force-device-scale-factor=1.5 ts-out/main.js "$@"
'';
};
in in
{ {
imports = [ imports = [