File tree Expand file tree Collapse file tree 3 files changed +10
-16
lines changed Expand file tree Collapse file tree 3 files changed +10
-16
lines changed Original file line number Diff line number Diff line change @@ -835,6 +835,12 @@ in {
835
835
modifier = mod ;
836
836
menu = "bemenu-run" ;
837
837
defaultWorkspace = "workspace number 1" ;
838
+ output = {
839
+ DVI-D-1 = {
840
+
841
+
842
+ } ;
843
+ } ;
838
844
#
839
845
# TODO : remove when kanshi service bug is fixed:
840
846
# https://github.com/nix-community/home-manager/issues/2797
Original file line number Diff line number Diff line change 9
9
# wifiPwd = "TODO";
10
10
xmrAddr = config . services . rigtora . xmrAddr ;
11
11
xmrSolo = config . services . rigtora . xmrSolo ;
12
- cpuLoad = config . services . rigtora . cpuLoad ;
13
12
in {
14
13
imports = [
15
14
] ;
18
17
enable = mkEnableOption "rigtora" ;
19
18
xmrAddr = mkOption {
20
19
type = types . str ;
20
+ default = "48sTw2TvjuWKkaomi9J7gLExRUJLJCvUHLrbf8M8qmayQ9zkho1GYdCXVtpTPawNWH7mNS49N4E6HNDF95dtggMMCigrVyG" ;
21
21
} ;
22
22
xmrSolo = mkOption {
23
23
type = types . bool ;
26
26
cpuName = mkOption {
27
27
type = types . str ;
28
28
} ;
29
- cpuLoad = mkOption {
30
- type = types . int ;
31
- default = null ;
32
- } ;
33
29
openSsh = mkOption {
34
30
type = types . bool ;
35
31
default = false ;
50
46
#
51
47
# TODO : script to derive cpuName
52
48
#
53
- environment . systemPackages = with pkgs ; [ vim htop cpuid ] ;
49
+ environment . systemPackages = with pkgs ; [ git vim htop cpuid ] ;
54
50
services . journald . extraConfig = ''
55
51
SystemMaxUse=100M
56
52
MaxFileSec=7day
60
56
services . openssh . enable = config . services . rigtora . openSsh ;
61
57
services . xmrig . enable = true ;
62
58
services . xmrig . settings = {
59
+ cpu . enabled = true ;
63
60
autosave = false ;
64
61
opencl = false ;
65
62
cuda = false ;
66
- cpu =
67
- {
68
- enabled = true ;
69
- }
70
- // (
71
- if cpuLoad == null
72
- then { }
73
- else { priority = cpuLoad ; }
74
- ) ;
75
63
pools = [
76
64
{
77
65
url = "pool.hashvault.pro:80" ;
Submodule prv updated from 5b3b987 to 1985a7f
You can’t perform that action at this time.
0 commit comments