nixos/services.spice-vdagentd: remove with lib;

This commit is contained in:
Felix Buehler 2024-08-30 00:46:48 +02:00
parent 7abfa8873a
commit e4c0bdd97f

View File

@ -1,17 +1,15 @@
{ config, pkgs, lib, ... }:
with lib;
let
cfg = config.services.spice-vdagentd;
in
{
options = {
services.spice-vdagentd = {
enable = mkEnableOption "Spice guest vdagent daemon";
enable = lib.mkEnableOption "Spice guest vdagent daemon";
};
};
config = mkIf cfg.enable {
config = lib.mkIf cfg.enable {
environment.systemPackages = [ pkgs.spice-vdagent ];