nixos/services.gdomap: remove with lib;

This commit is contained in:
Felix Buehler 2024-08-28 21:19:08 +02:00 committed by Jörg Thalheim
parent d0901224e1
commit 0b865525e8

View File

@ -1,21 +1,18 @@
{ config, lib, pkgs, ... }:
with lib;
{
#
# interface
#
options = {
services.gdomap = {
enable = mkEnableOption "GNUstep Distributed Objects name server";
enable = lib.mkEnableOption "GNUstep Distributed Objects name server";
};
};
#
# implementation
#
config = mkIf config.services.gdomap.enable {
config = lib.mkIf config.services.gdomap.enable {
# NOTE: gdomap runs as root
# TODO: extra user for gdomap?
systemd.services.gdomap = {