diff options
author | lassulus <lass@aidsballs.de> | 2016-02-17 15:00:18 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2016-02-20 02:02:07 +0100 |
commit | 9d519dd4d28d05f0fb86f742fedaa6a505522a4b (patch) | |
tree | 979fb1eb8b46a542fd7e1a24d2a02f06a9e00ae9 /lass/2configs/libvirt.nix | |
parent | 146421e96912ffd8dd5e2dd10019e5099d7d155b (diff) |
l 2: use inherit genid from krebs.lib
Diffstat (limited to 'lass/2configs/libvirt.nix')
-rw-r--r-- | lass/2configs/libvirt.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lass/2configs/libvirt.nix b/lass/2configs/libvirt.nix index 7520a0e36..a51ccae58 100644 --- a/lass/2configs/libvirt.nix +++ b/lass/2configs/libvirt.nix @@ -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; |