mirror of
https://github.com/CHN-beta/nixos.git
synced 2026-01-12 04:39:23 +08:00
modules.services.slurm: enable task plugins
This commit is contained in:
@@ -122,6 +122,9 @@ inputs:
|
||||
|
||||
# automatically resume node after drain
|
||||
ReturnToService=2
|
||||
|
||||
# enable task plugins
|
||||
TaskPlugin=task/affinity,task/cgroup
|
||||
'';
|
||||
extraConfigPaths =
|
||||
let gpus = slurm.node.${inputs.config.nixos.system.networking.hostname}.gpus or null;
|
||||
|
||||
Reference in New Issue
Block a user