about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorFelix Buehler2024-08-24 22:05:44 +0200
committerFelix Buehler2024-08-30 23:00:50 +0200
commita40bb4329ae7a17b1682ffceabed4829a5af8859 (patch)
tree04c798802e0b32878beb5489d0261d8e73626a3a /nixos
parent01533f55c4ea50e7087c54972cb631b7469c20bc (diff)
nixos/services.greenclip: remove `with lib;`
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/misc/greenclip.nix9
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";