From 793ecf787783fc10a1ec89c2551691a7a62a482e Mon Sep 17 00:00:00 2001 From: Felix Buehler Date: Sun, 8 Dec 2024 13:18:25 +0100 Subject: [PATCH] nixos/services.deepin.dde-daemon: remove `with lib;` --- nixos/modules/services/desktops/deepin/dde-daemon.nix | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/nixos/modules/services/desktops/deepin/dde-daemon.nix b/nixos/modules/services/desktops/deepin/dde-daemon.nix index ed4cd15bc271..2188276f4b22 100644 --- a/nixos/modules/services/desktops/deepin/dde-daemon.nix +++ b/nixos/modules/services/desktops/deepin/dde-daemon.nix @@ -1,11 +1,8 @@ { config, pkgs, lib, ... }: - -with lib; - { meta = { - maintainers = teams.deepin.members; + maintainers = lib.teams.deepin.members; }; ###### interface @@ -14,7 +11,7 @@ with lib; services.deepin.dde-daemon = { - enable = mkEnableOption "daemon for handling the deepin session settings"; + enable = lib.mkEnableOption "daemon for handling the deepin session settings"; }; @@ -23,7 +20,7 @@ with lib; ###### implementation - config = mkIf config.services.deepin.dde-daemon.enable { + config = lib.mkIf config.services.deepin.dde-daemon.enable { environment.systemPackages = [ pkgs.deepin.dde-daemon ];