about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--hosts/phobos/default.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/hosts/phobos/default.nix b/hosts/phobos/default.nix
index 014c24c..dd023f6 100644
--- a/hosts/phobos/default.nix
+++ b/hosts/phobos/default.nix
@@ -33,5 +33,13 @@
     '';
   */
 
+  services.boinc = {
+    enable = true;
+    dataDir = "/var/lib/boinc";
+  };
+
+  users.users.${user}.extraGroups = [ "boinc" ];
+  users.users.boinc.extraGroups = [ "video" ];
+
 }