nixos/services.psd: remove with lib;

This commit is contained in:
Felix Buehler 2024-08-27 20:43:05 +02:00
parent 6c702884e9
commit 5ee287118f

View File

@ -1,19 +1,16 @@
{ config, pkgs, lib, ... }:
with lib;
let
cfg = config.services.psd;
in {
options.services.psd = with types; {
enable = mkOption {
options.services.psd = with lib.types; {
enable = lib.mkOption {
type = bool;
default = false;
description = ''
Whether to enable the Profile Sync daemon.
'';
};
resyncTimer = mkOption {
resyncTimer = lib.mkOption {
type = str;
default = "1h";
example = "1h 30min";
@ -27,7 +24,7 @@ in {
};
};
config = mkIf cfg.enable {
config = lib.mkIf cfg.enable {
systemd = {
user = {
services = {