diff options
author | Felix Buehler | 2024-08-24 22:05:40 +0200 |
---|---|---|
committer | Felix Buehler | 2024-08-30 23:00:15 +0200 |
commit | 4948e0be37361354c164f744b661c7208e95d09a (patch) | |
tree | 885bcb3259325b2ad46f79a9a62d9ec62ed24a49 /nixos | |
parent | 1315c69dfe7d22a5566e77e111f1ba3f8b9f473c (diff) |
nixos/services.clipmenu: remove `with lib;`
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/misc/clipmenu.nix | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/nixos/modules/services/misc/clipmenu.nix b/nixos/modules/services/misc/clipmenu.nix index 71d36f9ef130..559917b7a2bf 100644 --- a/nixos/modules/services/misc/clipmenu.nix +++ b/nixos/modules/services/misc/clipmenu.nix @@ -1,18 +1,15 @@ { config, lib, pkgs, ... }: - -with lib; - let cfg = config.services.clipmenu; in { options.services.clipmenu = { - enable = mkEnableOption "clipmenu, the clipboard management daemon"; + enable = lib.mkEnableOption "clipmenu, the clipboard management daemon"; - package = mkPackageOption pkgs "clipmenu" { }; + package = lib.mkPackageOption pkgs "clipmenu" { }; }; - config = mkIf cfg.enable { + config = lib.mkIf cfg.enable { systemd.user.services.clipmenu = { enable = true; description = "Clipboard management daemon"; |