Use nixpkgs armcord
This commit is contained in:
parent
7dcae75a7d
commit
f3b35486af
|
@ -1,13 +1,9 @@
|
|||
{ pkgs, config, lib, ... }:
|
||||
|
||||
let
|
||||
discord = pkgs.writeShellApplication {
|
||||
name = "discord";
|
||||
runtimeInputs = with pkgs; [ nodejs pkgs.unstable.electron ];
|
||||
text = ''
|
||||
cd ~/Projects/ArmCord/ && electron --force-device-scale-factor=1.5 ts-out/main.js "$@"
|
||||
discord = pkgs.writeShellScriptBin "discord" ''
|
||||
${pkgs.armcord}/bin/armcord --force-device-scale-factor=1.5 ts-out/main.js "$@"
|
||||
'';
|
||||
};
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
|
|
Loading…
Reference in a new issue