nix: lazy way to add groups

This commit is contained in:
js0ny 2025-10-29 02:21:42 +00:00
parent 2b3fb09642
commit c58013738a
9 changed files with 17 additions and 79 deletions

View file

@ -1,8 +1,11 @@
{pkgs, ...}: {
{config, ...}: {
virtualisation = {
docker.enable = true;
podman.enable = true;
};
users.users.${config.var.username} = {
extraGroups = ["docker" "podman"];
};
# systemd.services.docker = {
# serviceConfig = {