mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 00:43:20 +00:00
nixos/services.psd: remove with lib;
This commit is contained in:
parent
6c702884e9
commit
5ee287118f
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user