diff options
author | Felix Buehler | 2024-08-24 22:05:44 +0200 |
---|---|---|
committer | Felix Buehler | 2024-08-30 23:00:50 +0200 |
commit | a40bb4329ae7a17b1682ffceabed4829a5af8859 (patch) | |
tree | 04c798802e0b32878beb5489d0261d8e73626a3a /nixos | |
parent | 01533f55c4ea50e7087c54972cb631b7469c20bc (diff) |
nixos/services.greenclip: remove `with lib;`
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/misc/greenclip.nix | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/nixos/modules/services/misc/greenclip.nix b/nixos/modules/services/misc/greenclip.nix index d92cd1854877..ce44ad4f6663 100644 --- a/nixos/modules/services/misc/greenclip.nix +++ b/nixos/modules/services/misc/greenclip.nix @@ -1,18 +1,15 @@ { config, lib, pkgs, ... }: - -with lib; - let cfg = config.services.greenclip; in { options.services.greenclip = { - enable = mkEnableOption "Greenclip, a clipboard manager"; + enable = lib.mkEnableOption "Greenclip, a clipboard manager"; - package = mkPackageOption pkgs [ "haskellPackages" "greenclip" ] { }; + package = lib.mkPackageOption pkgs [ "haskellPackages" "greenclip" ] { }; }; - config = mkIf cfg.enable { + config = lib.mkIf cfg.enable { systemd.user.services.greenclip = { enable = true; description = "greenclip daemon"; |