Skip to content

Commit

Permalink
fix(boinc): added all users to boinc group
Browse files Browse the repository at this point in the history
I forgot add 'wito' user to boinc group
  • Loading branch information
Wittano committed Jan 16, 2025
1 parent ff883d4 commit a3bb00d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion nixos/services/boinc.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{ config, pkgs, lib, ... }:
with lib;
with lib.my;
let
nvidiaDriverPackage = lists.optionals config.hardware.nvidia.enable [ config.boot.kernelPackages.nvidiaPackages.stable ];
extraEnvPackages = with pkgs; [ ocl-icd ] ++ nvidiaDriverPackage;
Expand All @@ -8,7 +9,9 @@ in
options.services.boinc.wittano.enable = mkEnableOption "Enable BOINC deamon";

config = mkIf config.services.boinc.wittano.enable {
users.users.wittano.extraGroups = [ "boinc" ];
users.users = desktop.mkMultiUserHomeManager [ "wittano" "wito" ] {
extraGroups = [ "boinc" ];
};

hardware.virtualization.wittano.stopServices = [{
name = "win10";
Expand Down

0 comments on commit a3bb00d

Please sign in to comment.