about summary refs log tree commit diff
path: root/hosts
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2023-01-10 01:45:26 +0100
committerBaitinq <manuelpalenzuelamerino@gmail.com>2023-01-10 01:49:16 +0100
commit46727781d581515167acbf1eae6f95add6bc9630 (patch)
treeddd403d0259961c093fd2905fcf9fa932d8d0d62 /hosts
parentHosts: Phobos: Use beta nvidia driver (diff)
downloadnixos-config-46727781d581515167acbf1eae6f95add6bc9630.tar.gz
nixos-config-46727781d581515167acbf1eae6f95add6bc9630.tar.bz2
nixos-config-46727781d581515167acbf1eae6f95add6bc9630.zip
Hosts: Phobos: Add boinc service
Diffstat (limited to 'hosts')
-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" ];
+
 }