home.nix
changeset 1 4a1d6dba7fe5
parent 0 0bfc10663494
child 4 956d340b23d8
--- a/home.nix	Wed May 20 22:17:53 2020 +0200
+++ b/home.nix	Wed May 27 08:42:01 2020 +0200
@@ -9,14 +9,9 @@
 in
 
 {
-  home.file."bin/idea" = {
-    text = ''
-      #!${pkgs.bash}/bin/bash
-      export JAVA_HOME=${pkgs.jetbrains.jdk}
-      exec /opt/idea-IC-201.7223.91/bin/idea.sh
-    '';
-    executable = true;
-  };
+  imports = [
+    ./idea.nix
+  ];
 
   home.packages = [
     my-nur.guilt