diff options
author | Edward Tjörnhammar <ed@cflags.cc> | 2015-04-15 22:59:07 +0200 |
---|---|---|
committer | Edward Tjörnhammar <ed@cflags.cc> | 2015-04-15 23:00:03 +0200 |
commit | dfc8e5ab05e5bb555000f9af0d58309671dccf4f (patch) | |
tree | 3cb8bb7c51ee994d0244c79e9d061b36d2a7067e /nixos/modules/services/misc/ihaskell.nix | |
parent | f7737355d4f97800e0585df91ddcd2df1501ec86 (diff) | |
download | nixlib-dfc8e5ab05e5bb555000f9af0d58309671dccf4f.tar nixlib-dfc8e5ab05e5bb555000f9af0d58309671dccf4f.tar.gz nixlib-dfc8e5ab05e5bb555000f9af0d58309671dccf4f.tar.bz2 nixlib-dfc8e5ab05e5bb555000f9af0d58309671dccf4f.tar.lz nixlib-dfc8e5ab05e5bb555000f9af0d58309671dccf4f.tar.xz nixlib-dfc8e5ab05e5bb555000f9af0d58309671dccf4f.tar.zst nixlib-dfc8e5ab05e5bb555000f9af0d58309671dccf4f.zip |
ihaskell: cleanup wrapper and service
Diffstat (limited to 'nixos/modules/services/misc/ihaskell.nix')
-rw-r--r-- | nixos/modules/services/misc/ihaskell.nix | 5 |
1 files changed, 2 insertions, 3 deletions
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\""; }; }; }; |