nixos/services.greenclip: remove with lib;
This commit is contained in:
parent
01533f55c4
commit
a40bb4329a
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user