Commit 14ec2d3235f7

Vincent Demeester <vincent@sbr.pm>
2019-01-14 16:47:52
.dir-locals: add projectile compile and run commands
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent aada2c9
Changed files (1)
.dir-locals.el
@@ -1,5 +1,7 @@
 ;;; Directory Local Variables
 ;;; For more information see (info "(emacs) Directory Variables")
 
-((nix-mode
+((nil (eval . (setq projectile-project-compilation-cmd "nixos-rebuild dry-build"
+		    projectile-project-run-cmd "nixos-rebuild switch")))
+ (nix-mode
   (tab-width . 2)))