summary refs log tree commit diff
path: root/nixos.org
diff options
context:
space:
mode:
Diffstat (limited to 'nixos.org')
-rw-r--r--nixos.org11
1 files changed, 11 insertions, 0 deletions
diff --git a/nixos.org b/nixos.org
index f33d706..3c00fdf 100644
--- a/nixos.org
+++ b/nixos.org
@@ -73,6 +73,17 @@ stuff
        };
      }
    #+end_src
+   Furthermore, I want to have some prefabs available in my $PATH if I make them
+   #+begin_src nix
+     {
+       environment.shellInit =
+         ''
+          if [ -h /etc/nixos/nix-prefabs/result ]; then
+           export PATH=$PATH:/etc/nixos/nix-prefabs/result/bin
+          fi
+         '';
+     }
+   #+end_src
 ** Init system
    nixos is started with systemd-boot, since we don't run any other distros
    #+begin_src nix