Skip to content

Commit 449ef09

Browse files
committed
btop
1 parent 36a5768 commit 449ef09

File tree

4 files changed

+28
-20
lines changed

4 files changed

+28
-20
lines changed

nix/configuration.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ in {
568568
pciutils
569569
docker-client
570570
docker-compose
571-
htop
571+
btop
572572
lsof
573573
wget
574574
#

nix/miner-rpi4.nix

Lines changed: 25 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1-
{ config, pkgs, lib, ... }:
2-
3-
let
1+
{
2+
config,
3+
pkgs,
4+
lib,
5+
...
6+
}: let
47
osUsr = "TODO";
58
osPwd = "TODO";
69
wifiNet = "TODO";
@@ -13,13 +16,13 @@ let
1316
sha256 = "079i605dlcgvw5kd2f8jnqq9ms81qf9ln0z6n8vcyyxn03zj0aal";
1417
};
1518
in {
16-
imports = [ "${archive}/raspberry-pi/4" ];
19+
imports = ["${archive}/raspberry-pi/4"];
1720

1821
fileSystems = {
1922
"/" = {
2023
device = "/dev/disk/by-label/NIXOS_SD";
2124
fsType = "ext4";
22-
options = [ "noatime" ];
25+
options = ["noatime"];
2326
};
2427
};
2528

@@ -28,7 +31,7 @@ in {
2831
wireless = {
2932
enable = true;
3033
networks."${wifiNet}".psk = wifiPwd;
31-
interfaces = [ "wlan0" ];
34+
interfaces = ["wlan0"];
3235
};
3336
};
3437

@@ -37,13 +40,13 @@ in {
3740
users."${osUsr}" = {
3841
isNormalUser = true;
3942
password = osPwd;
40-
extraGroups = [ "wheel" ];
43+
extraGroups = ["wheel"];
4144
};
4245
};
4346

4447
boot.cleanTmpDir = true;
4548
nix.settings.auto-optimise-store = true;
46-
environment.systemPackages = with pkgs; [ vim htop ];
49+
environment.systemPackages = with pkgs; [vim btop];
4750
services.journald.extraConfig = ''
4851
SystemMaxUse=100M
4952
MaxFileSec=7day
@@ -57,14 +60,19 @@ in {
5760
opencl = false;
5861
cuda = false;
5962
cpu = true;
60-
pools = [{
61-
url = "pool.hashvault.pro:80";
62-
coin = "XMR";
63-
user = if xmrSolo then "solo:${xmrAddr}" else xmrAddr;
64-
nicehash = false;
65-
keepalive = false;
66-
tls = true;
67-
tls-fingerprint = "420c7850e09b7c0bdcf748a7da9eb3647daf8515718f36d9ccfdd6b9ff834b14";
68-
}];
63+
pools = [
64+
{
65+
url = "pool.hashvault.pro:80";
66+
coin = "XMR";
67+
user =
68+
if xmrSolo
69+
then "solo:${xmrAddr}"
70+
else xmrAddr;
71+
nicehash = false;
72+
keepalive = false;
73+
tls = true;
74+
tls-fingerprint = "420c7850e09b7c0bdcf748a7da9eb3647daf8515718f36d9ccfdd6b9ff834b14";
75+
}
76+
];
6977
};
7078
}

nix/rigtora.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ in {
5454
environment.systemPackages = with pkgs; [
5555
git
5656
vim
57-
htop
57+
btop
5858
cpuid
5959
udiskie
6060
litecli

nix/rpi4.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ in {
7070
environment.systemPackages = with pkgs; [
7171
git
7272
vim
73-
htop
73+
btop
7474
udiskie
7575
litecli
7676
docker-client

0 commit comments

Comments
 (0)