From dfc8e5ab05e5bb555000f9af0d58309671dccf4f Mon Sep 17 00:00:00 2001 From: Edward Tjörnhammar Date: Wed, 15 Apr 2015 22:59:07 +0200 Subject: ihaskell: cleanup wrapper and service --- nixos/modules/services/misc/ihaskell.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'nixos') diff --git a/nixos/modules/services/misc/ihaskell.nix b/nixos/modules/services/misc/ihaskell.nix index b857045bb7d0..7f7f981de498 100644 --- a/nixos/modules/services/misc/ihaskell.nix +++ b/nixos/modules/services/misc/ihaskell.nix @@ -68,9 +68,8 @@ in after = [ "network.target" ]; serviceConfig = { User = config.users.extraUsers.ihaskell.name; - Group = config.users.extraUsers.ihaskell.name; - Restart = "always"; - ExecStart = "${ihaskell}/bin/IHaskell notebook"; + Group = config.users.extraGroups.ihaskell.name; + ExecStart = "${pkgs.stdenv.shell} -c \"cd $HOME;${ihaskell}/bin/ihaskell-notebook\""; }; }; }; -- cgit 1.4.1