mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
nixos/services.clipcat: remove with lib;
This commit is contained in:
parent
c3ef67ff5b
commit
1315c69dfe
@ -1,18 +1,15 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
with lib;
|
||||
|
||||
let
|
||||
cfg = config.services.clipcat;
|
||||
in {
|
||||
|
||||
options.services.clipcat= {
|
||||
enable = mkEnableOption "Clipcat clipboard daemon";
|
||||
enable = lib.mkEnableOption "Clipcat clipboard daemon";
|
||||
|
||||
package = mkPackageOption pkgs "clipcat" { };
|
||||
package = lib.mkPackageOption pkgs "clipcat" { };
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
config = lib.mkIf cfg.enable {
|
||||
systemd.user.services.clipcat = {
|
||||
enable = true;
|
||||
description = "clipcat daemon";
|
||||
|
Loading…
Reference in New Issue
Block a user