literate-config

Literate config. See <a href="../readme.org">readme.org</a> for a better-formatted version
Log | Files | Refs

commit b3ad4c8df45a0d094e1e9f6ce5069062d8f30bbd
parent 3282616791ca5b466230872e52669fe5ccd1641e
Author: Crazazy <crazazy@tilde.cafe>
Date:   Fri, 12 Aug 2022 12:30:04 +0200

add nix-prefabs on boot (if it exists)

Diffstat:
Mnixos.org | 11+++++++++++
1 file changed, 11 insertions(+), 0 deletions(-)

diff --git 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