From 8da10747bf1290eb0d7a38a3301d1907b6311b7c Mon Sep 17 00:00:00 2001 From: Tao Tien <29749622+taotien@users.noreply.github.com> Date: Mon, 29 Apr 2024 13:53:43 -0700 Subject: [PATCH] boinc and folding --- extras/folding.nix | 15 +++++++++++++++ flake.nix | 1 + systems/NOcomputer.nix | 7 ------- 3 files changed, 16 insertions(+), 7 deletions(-) create mode 100644 extras/folding.nix diff --git a/extras/folding.nix b/extras/folding.nix new file mode 100644 index 0000000..e73a7f8 --- /dev/null +++ b/extras/folding.nix @@ -0,0 +1,15 @@ +{pkgs, ...}: { + environment.systemPackages = with pkgs; [ + # boinctui + ]; + services.boinc = { + enable = true; + }; + + # services.foldingathome = { + # enable = true; + # team = 223518; + # user = "Tao_Tien"; + # extraArgs = ["--passkey=76ba03d55acf116776ba03d55acf1167"]; + # }; +} diff --git a/flake.nix b/flake.nix index ffbc4f0..4ea08b7 100644 --- a/flake.nix +++ b/flake.nix @@ -76,6 +76,7 @@ ./extras/uwuraid.nix ./extras/dev.nix ./extras/gaming.nix + ./extras/folding.nix # nixos-cosmic.nixosModules.default # ./extras/cosmic.nix ]; diff --git a/systems/NOcomputer.nix b/systems/NOcomputer.nix index e342934..5d1b70a 100644 --- a/systems/NOcomputer.nix +++ b/systems/NOcomputer.nix @@ -13,13 +13,6 @@ boot.kernel.sysctl."net.ipv4.ip_forward" = "1"; boot.kernel.sysctl."net.ipv6.conf.all.forwarding" = "1"; - # services.foldingathome = { - # enable = true; - # team = 223518; - # user = "Tao_Tien"; - # extraArgs = ["--passkey=76ba03d55acf116776ba03d55acf1167"]; - # }; - # environment.sessionVariables = { # # wayland chromium workaround # NIXOS_OZONE_WL = "1";