summaryrefslogtreecommitdiffstats
path: root/lass/2configs/libvirt.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2015-12-26 05:55:13 +0100
committertv <tv@krebsco.de>2015-12-26 05:58:37 +0100
commit763f0db52ad45eef6e09d7982cd0f6cd898857e3 (patch)
tree77594d44153f6d6602783718d491024e40bd4423 /lass/2configs/libvirt.nix
parenta226298f4d545ea66b830833ef9f19c1785a4546 (diff)
{pkgs => lib}.genid
Diffstat (limited to 'lass/2configs/libvirt.nix')
-rw-r--r--lass/2configs/libvirt.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/lass/2configs/libvirt.nix b/lass/2configs/libvirt.nix
index 368722e77..7520a0e36 100644
--- a/lass/2configs/libvirt.nix
+++ b/lass/2configs/libvirt.nix
@@ -1,4 +1,4 @@
-{ config, pkgs, ... }:
+{ config, lib, pkgs, ... }:
let
mainUser = config.users.extraUsers.mainUser;
@@ -8,7 +8,7 @@ in {
users.extraUsers = {
libvirt = {
- uid = 358821352; # genid libvirt
+ uid = lib.genid "libvirt";
description = "user for running libvirt stuff";
home = "/home/libvirt";
useDefaultShell = true;