hw accell and device mapper container for dev/dri usage in swarm

This commit is contained in:
2025-04-21 15:18:14 +02:00
parent bdeb445598
commit 969b77a3a8
5 changed files with 72 additions and 4 deletions

View File

@@ -12,7 +12,7 @@
};
users.users.${config.vars.username} = {
isNormalUser = true;
extraGroups = [ "wheel" ]; # Enable sudo for the user.
extraGroups = [ "wheel" "docker" ]; # Enable sudo and allow 'Docker' for the user.
openssh.authorizedKeys.keyFiles = [
(builtins.toPath "/etc/nixos/ssh/auth_keys_${config.vars.username}")
];