l 2: use inherit genid from krebs.lib

This commit is contained in:
lassulus 2016-02-17 15:00:18 +01:00 committed by tv
parent 146421e969
commit 9d519dd4d2
2 changed files with 4 additions and 2 deletions

View File

@ -2,13 +2,14 @@
let
mainUser = config.users.extraUsers.mainUser;
inherit (config.krebs.lib) genid;
in {
virtualisation.libvirtd.enable = true;
users.extraUsers = {
libvirt = {
uid = lib.genid "libvirt";
uid = genid "libvirt";
description = "user for running libvirt stuff";
home = "/home/libvirt";
useDefaultShell = true;

View File

@ -2,12 +2,13 @@
let
mainUser = config.users.extraUsers.mainUser;
inherit (config.krebs.lib) genid;
in {
users.extraUsers = {
skype = {
name = "skype";
uid = lib.genid "skype";
uid = genid "skype";
description = "user for running skype";
home = "/home/skype";
useDefaultShell = true;