summaryrefslogtreecommitdiff
path: root/bragi.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2017-03-14 01:23:09 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2017-03-14 01:23:09 +0100
commit47f54fc6d1f081c9fe7ac3d0bee705b3a78609d5 (patch)
treeac942d6b57a007a57906c1a8b13c63907c5f2ee7 /bragi.nix
parent3490d0dac52f79478fdb8db84106a505926e760f (diff)
downloadnixos-47f54fc6d1f081c9fe7ac3d0bee705b3a78609d5.tar
nixos-47f54fc6d1f081c9fe7ac3d0bee705b3a78609d5.tar.gz
nixos-47f54fc6d1f081c9fe7ac3d0bee705b3a78609d5.tar.bz2
nixos-47f54fc6d1f081c9fe7ac3d0bee705b3a78609d5.tar.xz
nixos-47f54fc6d1f081c9fe7ac3d0bee705b3a78609d5.zip
Switch to bar in repo
Diffstat (limited to 'bragi.nix')
-rw-r--r--bragi.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/bragi.nix b/bragi.nix
index 86c24228..ff58967f 100644
--- a/bragi.nix
+++ b/bragi.nix
@@ -315,7 +315,9 @@ in rec {
315 wantedBy = [ "default.target" ]; 315 wantedBy = [ "default.target" ];
316 serviceConfig = { 316 serviceConfig = {
317 Type = "simple"; 317 Type = "simple";
318 ExecStart = "${ghc}/bin/runghc ${./bragi/bar.hs}"; 318 ExecStart = ''
319 ${pkgs.callPackage ./bragi/bar {}}/bin/bar
320 '';
319 User = users.extraUsers."bar".name; 321 User = users.extraUsers."bar".name;
320 Group = users.extraUsers."bar".group; 322 Group = users.extraUsers."bar".group;
321 WorkingDirectory = "~"; 323 WorkingDirectory = "~";