File tree Expand file tree Collapse file tree 4 files changed +28
-20
lines changed Expand file tree Collapse file tree 4 files changed +28
-20
lines changed Original file line number Diff line number Diff line change 568
568
pciutils
569
569
docker-client
570
570
docker-compose
571
- htop
571
+ btop
572
572
lsof
573
573
wget
574
574
#
Original file line number Diff line number Diff line change 1
- { config , pkgs , lib , ... } :
2
-
3
- let
1
+ {
2
+ config ,
3
+ pkgs ,
4
+ lib ,
5
+ ...
6
+ } : let
4
7
osUsr = "TODO" ;
5
8
osPwd = "TODO" ;
6
9
wifiNet = "TODO" ;
13
16
sha256 = "079i605dlcgvw5kd2f8jnqq9ms81qf9ln0z6n8vcyyxn03zj0aal" ;
14
17
} ;
15
18
in {
16
- imports = [ "${ archive } /raspberry-pi/4" ] ;
19
+ imports = [ "${ archive } /raspberry-pi/4" ] ;
17
20
18
21
fileSystems = {
19
22
"/" = {
20
23
device = "/dev/disk/by-label/NIXOS_SD" ;
21
24
fsType = "ext4" ;
22
- options = [ "noatime" ] ;
25
+ options = [ "noatime" ] ;
23
26
} ;
24
27
} ;
25
28
28
31
wireless = {
29
32
enable = true ;
30
33
networks . "${ wifiNet } " . psk = wifiPwd ;
31
- interfaces = [ "wlan0" ] ;
34
+ interfaces = [ "wlan0" ] ;
32
35
} ;
33
36
} ;
34
37
37
40
users . "${ osUsr } " = {
38
41
isNormalUser = true ;
39
42
password = osPwd ;
40
- extraGroups = [ "wheel" ] ;
43
+ extraGroups = [ "wheel" ] ;
41
44
} ;
42
45
} ;
43
46
44
47
boot . cleanTmpDir = true ;
45
48
nix . settings . auto-optimise-store = true ;
46
- environment . systemPackages = with pkgs ; [ vim htop ] ;
49
+ environment . systemPackages = with pkgs ; [ vim btop ] ;
47
50
services . journald . extraConfig = ''
48
51
SystemMaxUse=100M
49
52
MaxFileSec=7day
57
60
opencl = false ;
58
61
cuda = false ;
59
62
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
+ ] ;
69
77
} ;
70
78
}
Original file line number Diff line number Diff line change 54
54
environment . systemPackages = with pkgs ; [
55
55
git
56
56
vim
57
- htop
57
+ btop
58
58
cpuid
59
59
udiskie
60
60
litecli
Original file line number Diff line number Diff line change 70
70
environment . systemPackages = with pkgs ; [
71
71
git
72
72
vim
73
- htop
73
+ btop
74
74
udiskie
75
75
litecli
76
76
docker-client
You can’t perform that action at this time.
0 commit comments