1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 19:21:04 +00:00

nixos/services.xe-guest-utilities: remove with lib;

This commit is contained in:
Felix Buehler 2024-08-24 22:05:55 +02:00
parent 3e5d6ba7df
commit dcb2e4eba4

View file

@ -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 - - -" ];