adding ethminer

This commit is contained in:
Chris Cochrun 2022-05-27 09:50:08 -05:00
parent 5c5b3dcf60
commit 1d8a306400
5 changed files with 43 additions and 4 deletions

View file

@ -625,7 +625,7 @@ Kaladin is my desktop machine. A powerhouse for the most part with a recent i7 a
# Define a user account. Don't forget to set a password with passwd. # Define a user account. Don't forget to set a password with passwd.
users.users.chris = { users.users.chris = {
isNormalUser = true; isNormalUser = true;
extraGroups = [ "wheel" "networkmanager" "input" ]; # Enable sudo for the user. extraGroups = [ "wheel" "networkmanager" "input" "no-internet" ]; # Enable sudo for the user.
}; };
programs.partition-manager.enable = true; programs.partition-manager.enable = true;
@ -639,6 +639,15 @@ Kaladin is my desktop machine. A powerhouse for the most part with a recent i7 a
virtualisation.waydroid.enable = true; virtualisation.waydroid.enable = true;
# services.ethminer = {
# enable = true;
# pool = "us-eth.2miners.com:2020";
# toolkit = "cuda";
# rig = "kaladin";
# wallet = "0xE43c525d05Ac52303cb43772Eb209824AE328CA3";
# registerMail = "ceth@cochrun.xyz";
# };
programs.steam = { programs.steam = {
enable = true; enable = true;
remotePlay.openFirewall = true; remotePlay.openFirewall = true;
@ -651,6 +660,9 @@ Kaladin is my desktop machine. A powerhouse for the most part with a recent i7 a
<<general-packages>> <<general-packages>>
blender blender
neofetch neofetch
ethminer
lutris
protonup
# Dev tools # Dev tools
<<dev-tools>> <<dev-tools>>
<<lightlyshaders>> <<lightlyshaders>>

View file

@ -770,4 +770,5 @@
;; (if laptop (awful.spawn.once "nm-applet")) ;; (if laptop (awful.spawn.once "nm-applet"))
(awful.spawn.once "xcape -e 'Super_L=Super_L|Control_L|Escape'") (awful.spawn.once "xcape -e 'Super_L=Super_L|Control_L|Escape'")
(awful.spawn.once "xcape -e 'Alt_L=Super_L|W'") (awful.spawn.once "xcape -e 'Alt_L=Super_L|W'")
(awful.spawn.once "unclutter")
(awful.spawn.once "greenclip daemon") (awful.spawn.once "greenclip daemon")

View file

@ -8,7 +8,7 @@ size-transition = true
spawn-center = true spawn-center = true
# Corners # Corners
corner-radius = 20.0; corner-radius = 0.0;
rounded-corners-exclude = [ rounded-corners-exclude = [
#"window_type = 'normal'", #"window_type = 'normal'",
"class_g = 'awesome'", "class_g = 'awesome'",
@ -18,7 +18,7 @@ rounded-corners-exclude = [
"class_g = 'Thunderbird'", "class_g = 'Thunderbird'",
# "_NET_WM_STATE@[0]:32a *= '_NET_WM_STATE_FULLSCREEN'", # "_NET_WM_STATE@[0]:32a *= '_NET_WM_STATE_FULLSCREEN'",
]; ];
round-borders = 14; round-borders = 0;
round-borders-exclude = [ round-borders-exclude = [
#"class_g = 'TelegramDesktop'", #"class_g = 'TelegramDesktop'",
]; ];

View file

@ -101,7 +101,7 @@
# Define a user account. Don't forget to set a password with passwd. # Define a user account. Don't forget to set a password with passwd.
users.users.chris = { users.users.chris = {
isNormalUser = true; isNormalUser = true;
extraGroups = [ "wheel" "networkmanager" "input" ]; # Enable sudo for the user. extraGroups = [ "wheel" "networkmanager" "input" "no-internet" ]; # Enable sudo for the user.
}; };
programs.partition-manager.enable = true; programs.partition-manager.enable = true;
@ -115,6 +115,15 @@
virtualisation.waydroid.enable = true; virtualisation.waydroid.enable = true;
# services.ethminer = {
# enable = true;
# pool = "us-eth.2miners.com:2020";
# toolkit = "cuda";
# rig = "kaladin";
# wallet = "0xE43c525d05Ac52303cb43772Eb209824AE328CA3";
# registerMail = "ceth@cochrun.xyz";
# };
programs.steam = { programs.steam = {
enable = true; enable = true;
remotePlay.openFirewall = true; remotePlay.openFirewall = true;
@ -218,6 +227,9 @@
quickemu quickemu
blender blender
neofetch neofetch
ethminer
lutris
protonup
# Dev tools # Dev tools
nix-index nix-index
meson meson

View file

@ -450,6 +450,20 @@
WantedBy = ["default.target"]; WantedBy = ["default.target"];
}; };
}; };
ethminer = {
Unit = {
Description = "Mining at home";
};
Service = {
ExecStart = "/run/current-system/sw/bin/ethminer ";
};
Install = {
WantedBy = ["default.target"];
};
};
}; };
} }