nixos/services.gdomap: remove with lib;
This commit is contained in:
parent
d0901224e1
commit
0b865525e8
@ -1,21 +1,18 @@
|
|||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
with lib;
|
|
||||||
|
|
||||||
{
|
{
|
||||||
#
|
#
|
||||||
# interface
|
# interface
|
||||||
#
|
#
|
||||||
options = {
|
options = {
|
||||||
services.gdomap = {
|
services.gdomap = {
|
||||||
enable = mkEnableOption "GNUstep Distributed Objects name server";
|
enable = lib.mkEnableOption "GNUstep Distributed Objects name server";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
#
|
#
|
||||||
# implementation
|
# implementation
|
||||||
#
|
#
|
||||||
config = mkIf config.services.gdomap.enable {
|
config = lib.mkIf config.services.gdomap.enable {
|
||||||
# NOTE: gdomap runs as root
|
# NOTE: gdomap runs as root
|
||||||
# TODO: extra user for gdomap?
|
# TODO: extra user for gdomap?
|
||||||
systemd.services.gdomap = {
|
systemd.services.gdomap = {
|
||||||
|
Loading…
Reference in New Issue
Block a user