mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
switched to AFKCommands rust rewrite
This commit is contained in:
parent
d2113e0f50
commit
d221a562f6
6 changed files with 37 additions and 9 deletions
|
|
@ -20,9 +20,7 @@
|
|||
hardware.cpu.amd.updateMicrocode = true;
|
||||
#end important stuff
|
||||
environment.systemPackages = with pkgs; [
|
||||
android-tools
|
||||
openjdk
|
||||
AFKCommands
|
||||
afk-cmds
|
||||
xmrig
|
||||
t-rex-miner
|
||||
];
|
||||
|
|
@ -51,10 +49,10 @@
|
|||
};
|
||||
systemd.services.mining = {
|
||||
enable = true;
|
||||
path = with pkgs; [ AFKCommands t-rex-miner xmrig ];
|
||||
path = with pkgs; [ afk-cmds t-rex-miner xmrig alacritty zsh ];
|
||||
wantedBy = [ "graphical.target" ];
|
||||
script = ''
|
||||
AFKCommands
|
||||
afk_cmds -c /home/gerg/afk-cmds.json
|
||||
'';
|
||||
environment = {
|
||||
XAUTHORITY="/home/gerg/.Xauthority";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue