mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
nix: lazy way to add groups
This commit is contained in:
parent
2b3fb09642
commit
c58013738a
9 changed files with 17 additions and 79 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue