summaryrefslogtreecommitdiffstats
path: root/lass/2configs/libvirt.nix
diff options
context:
space:
mode:
Diffstat (limited to 'lass/2configs/libvirt.nix')
-rw-r--r--lass/2configs/libvirt.nix3
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;