hw accell and device mapper container for dev/dri usage in swarm
This commit is contained in:
@@ -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}")
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user