Skip to content

Commit

Permalink
systemd: added groups kvm, render
Browse files Browse the repository at this point in the history
they need to exist according to the README of systemd
  • Loading branch information
typetetris authored and dezgeg committed Aug 25, 2018
1 parent 24cb9dd commit 7f8b1dd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nixos/modules/config/users-groups.nix
Expand Up @@ -524,6 +524,8 @@ in {
utmp.gid = ids.gids.utmp;
adm.gid = ids.gids.adm;
input.gid = ids.gids.input;
kvm.gid = ids.gids.kvm;
render.gid = ids.gids.render;
};

system.activationScripts.users = stringAfter [ "stdio" ]
Expand Down
4 changes: 4 additions & 0 deletions nixos/modules/misc/ids.nix
Expand Up @@ -326,6 +326,8 @@
cfssl = 299;
cassandra = 300;
qemu-libvirtd = 301;
# kvm = 302; # unused
# render = 303; # unused

# When adding a uid, make sure it doesn't match an existing gid. And don't use uids above 399!

Expand Down Expand Up @@ -612,6 +614,8 @@
cfssl = 299;
cassandra = 300;
qemu-libvirtd = 301;
kvm = 302; # default udev rules from systemd requires these
render = 303; # default udev rules from systemd requires these

# When adding a gid, make sure it doesn't match an existing
# uid. Users and groups with the same name should have equal
Expand Down

0 comments on commit 7f8b1dd

Please sign in to comment.