mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-21 03:25:36 +00:00
nixos/services.canto-daemon: remove with lib;
This commit is contained in:
parent
5e8ed975ef
commit
3c2fff40ba
@ -1,7 +1,4 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
with lib;
|
||||
|
||||
let
|
||||
|
||||
cfg = config.services.canto-daemon;
|
||||
@ -13,8 +10,8 @@ in {
|
||||
options = {
|
||||
|
||||
services.canto-daemon = {
|
||||
enable = mkOption {
|
||||
type = types.bool;
|
||||
enable = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
description = "Whether to enable the canto RSS daemon.";
|
||||
};
|
||||
@ -24,7 +21,7 @@ in {
|
||||
|
||||
##### implementation
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
config = lib.mkIf cfg.enable {
|
||||
|
||||
systemd.user.services.canto-daemon = {
|
||||
description = "Canto RSS Daemon";
|
||||
|
Loading…
Reference in New Issue
Block a user