Hevana: disable BOINC for now
This commit is contained in:
parent
e20f636bfb
commit
38066e07da
|
@ -127,7 +127,10 @@ in
|
||||||
onCalendar = "daily";
|
onCalendar = "daily";
|
||||||
user = config.users.users.aires.name;
|
user = config.users.users.aires.name;
|
||||||
};
|
};
|
||||||
boinc.enable = true;
|
boinc = {
|
||||||
|
enable = false;
|
||||||
|
home = "${services-root}/boinc";
|
||||||
|
};
|
||||||
duplicacy-web = {
|
duplicacy-web = {
|
||||||
enable = true;
|
enable = true;
|
||||||
home = "/storage/backups/settings/Haven";
|
home = "/storage/backups/settings/Haven";
|
||||||
|
|
|
@ -10,14 +10,21 @@ let
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options = {
|
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 {
|
config = lib.mkIf cfg.enable {
|
||||||
services.boinc = {
|
services.boinc = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.boinc-headless;
|
package = pkgs.boinc-headless;
|
||||||
dataDir = "/var/lib/boinc";
|
dataDir = cfg.home;
|
||||||
extraEnvPackages = [
|
extraEnvPackages = [
|
||||||
pkgs.ocl-icd
|
pkgs.ocl-icd
|
||||||
] ++ lib.optionals config.aux.system.gpu.nvidia.enable [ pkgs.linuxPackages.nvidia_x11 ];
|
] ++ lib.optionals config.aux.system.gpu.nvidia.enable [ pkgs.linuxPackages.nvidia_x11 ];
|
||||||
|
|
Loading…
Reference in a new issue