nixos/services.gdomap: remove with lib;
This commit is contained in:
parent
d0901224e1
commit
0b865525e8
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user