Hevana: disable BOINC for now
This commit is contained in:
parent
e20f636bfb
commit
38066e07da
|
@ -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";
|
||||
|
|
|
@ -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 ];
|
||||
|
|
Loading…
Reference in a new issue