Use nixpkgs armcord
This commit is contained in:
parent
7dcae75a7d
commit
f3b35486af
|
@ -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 = [
|
||||||
|
|
Loading…
Reference in a new issue