1
0
Fork 0

Hevana: disable BOINC for now

This commit is contained in:
Aires 2024-09-14 16:05:10 -04:00
parent e20f636bfb
commit 38066e07da
2 changed files with 13 additions and 3 deletions

View file

@ -127,7 +127,10 @@ in
onCalendar = "daily";
user = config.users.users.aires.name;
};
boinc.enable = true;
boinc = {
enable = false;
home = "${services-root}/boinc";
};
duplicacy-web = {
enable = true;
home = "/storage/backups/settings/Haven";

View file

@ -10,14 +10,21 @@ let
in
{
options = {
aux.system.services.boinc.enable = lib.mkEnableOption "Enables BOINC distributed computing service.";
aux.system.services.boinc = {
enable = lib.mkEnableOption "Enables BOINC distributed computing service.";
home = lib.mkOption {
default = "/var/lib/boinc";
type = lib.types.str;
description = "Where to store BOINC's files";
};
};
};
config = lib.mkIf cfg.enable {
services.boinc = {
enable = true;
package = pkgs.boinc-headless;
dataDir = "/var/lib/boinc";
dataDir = cfg.home;
extraEnvPackages = [
pkgs.ocl-icd
] ++ lib.optionals config.aux.system.gpu.nvidia.enable [ pkgs.linuxPackages.nvidia_x11 ];