summary refs log tree commit diff
path: root/nixos/modules/services/networking/gdomap.nix
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2016-07-06 18:28:21 -0500
committerMatthew Bauer <mjbauer95@gmail.com>2016-08-16 21:11:05 +0000
commit5ea9bd0920a90b83dbfca0438af9a20661f8ea9d (patch)
tree0d6bbffd748392ac985aee5173a95c348c81baa5 /nixos/modules/services/networking/gdomap.nix
parent387d5e07fd0c965945140641599dfdafefe249ad (diff)
downloadnixpkgs-5ea9bd0920a90b83dbfca0438af9a20661f8ea9d.tar
nixpkgs-5ea9bd0920a90b83dbfca0438af9a20661f8ea9d.tar.gz
nixpkgs-5ea9bd0920a90b83dbfca0438af9a20661f8ea9d.tar.bz2
nixpkgs-5ea9bd0920a90b83dbfca0438af9a20661f8ea9d.tar.lz
nixpkgs-5ea9bd0920a90b83dbfca0438af9a20661f8ea9d.tar.xz
nixpkgs-5ea9bd0920a90b83dbfca0438af9a20661f8ea9d.tar.zst
nixpkgs-5ea9bd0920a90b83dbfca0438af9a20661f8ea9d.zip
gnustep: fix naming of gnustep stuff
This should fix the NixOS issues.
Diffstat (limited to 'nixos/modules/services/networking/gdomap.nix')
-rw-r--r--nixos/modules/services/networking/gdomap.nix20
1 files changed, 4 insertions, 16 deletions
diff --git a/nixos/modules/services/networking/gdomap.nix b/nixos/modules/services/networking/gdomap.nix
index 7b5ba4fcf10..7f2d2159b48 100644
--- a/nixos/modules/services/networking/gdomap.nix
+++ b/nixos/modules/services/networking/gdomap.nix
@@ -11,22 +11,10 @@ in
   #
   options = {
     services.gdomap = {
-      enable = mkOption {
-        default = false;
-	description = "
-	  Whether to enable gdomap, the GNUstep distributed objects daemon.
-
-	  Note that gdomap runs as root.
-        ";
-      };
-
-      pidfile = mkOption {
-        type = types.path;
-        default = "/tmp/gdomap.pid";
-	description = "Location of the pid file for gdomap daemon";
-      };
+      enable = mkEnableOption "Whether to enable gdomap, the GNUstep distributed objects daemon";
     };
   };
+
   #
   # implementation
   #
@@ -37,10 +25,10 @@ in
       description = "gdomap server";
       wantedBy = [ "multi-user.target" ];
       after = [ "network.target" ];
-      path  = [ pkgs.gnustep_base ];
+      path  = [ pkgs.gnustep.base ];
       serviceConfig = {
         PIDFile = cfg.pidfile;
-        ExecStart = "@${pkgs.gnustep_base}/bin/gdomap"
+        ExecStart = "@${pkgs.gnustep.base}/bin/gdomap"
 	  + " -d -p"
 	  + " -I ${cfg.pidfile}";
 	Restart = "always";