l 2: use inherit genid from krebs.lib
This commit is contained in:
parent
146421e969
commit
9d519dd4d2
@ -2,13 +2,14 @@
|
|||||||
|
|
||||||
let
|
let
|
||||||
mainUser = config.users.extraUsers.mainUser;
|
mainUser = config.users.extraUsers.mainUser;
|
||||||
|
inherit (config.krebs.lib) genid;
|
||||||
|
|
||||||
in {
|
in {
|
||||||
virtualisation.libvirtd.enable = true;
|
virtualisation.libvirtd.enable = true;
|
||||||
|
|
||||||
users.extraUsers = {
|
users.extraUsers = {
|
||||||
libvirt = {
|
libvirt = {
|
||||||
uid = lib.genid "libvirt";
|
uid = genid "libvirt";
|
||||||
description = "user for running libvirt stuff";
|
description = "user for running libvirt stuff";
|
||||||
home = "/home/libvirt";
|
home = "/home/libvirt";
|
||||||
useDefaultShell = true;
|
useDefaultShell = true;
|
||||||
|
@ -2,12 +2,13 @@
|
|||||||
|
|
||||||
let
|
let
|
||||||
mainUser = config.users.extraUsers.mainUser;
|
mainUser = config.users.extraUsers.mainUser;
|
||||||
|
inherit (config.krebs.lib) genid;
|
||||||
|
|
||||||
in {
|
in {
|
||||||
users.extraUsers = {
|
users.extraUsers = {
|
||||||
skype = {
|
skype = {
|
||||||
name = "skype";
|
name = "skype";
|
||||||
uid = lib.genid "skype";
|
uid = genid "skype";
|
||||||
description = "user for running skype";
|
description = "user for running skype";
|
||||||
home = "/home/skype";
|
home = "/home/skype";
|
||||||
useDefaultShell = true;
|
useDefaultShell = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user