about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorFelix Buehler2024-08-24 22:05:55 +0200
committerFelix Buehler2024-08-30 23:01:45 +0200
commitdcb2e4eba4d92af6d72eb3c22ccdb12d0ed8e9df (patch)
treeb6c5e9e80285770bdea6db2688d72bf39107aa50 /nixos
parent3e5d6ba7df849c02ab4d6a64d5f2058c6e68fe66 (diff)
nixos/services.xe-guest-utilities: remove `with lib;`
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/virtualisation/xe-guest-utilities.nix5
1 files changed, 2 insertions, 3 deletions
diff --git a/nixos/modules/virtualisation/xe-guest-utilities.nix b/nixos/modules/virtualisation/xe-guest-utilities.nix
index 25ccbaebc077..9bc68c0a3d7d 100644
--- a/nixos/modules/virtualisation/xe-guest-utilities.nix
+++ b/nixos/modules/virtualisation/xe-guest-utilities.nix
@@ -1,14 +1,13 @@
 { config, lib, pkgs, ... }:
-with lib;
 let
   cfg = config.services.xe-guest-utilities;
 in {
   options = {
     services.xe-guest-utilities = {
-      enable = mkEnableOption "the Xen guest utilities daemon";
+      enable = lib.mkEnableOption "the Xen guest utilities daemon";
     };
   };
-  config = mkIf cfg.enable {
+  config = lib.mkIf cfg.enable {
     services.udev.packages = [ pkgs.xe-guest-utilities ];
     systemd.tmpfiles.rules = [ "d /run/xenstored 0755 - - -" ];