summaryrefslogtreecommitdiff
path: root/modules/examples
diff options
context:
space:
mode:
authorDaiderd Jordan <daiderd@gmail.com>2016-12-15 15:03:57 +0100
committerDaiderd Jordan <daiderd@gmail.com>2016-12-15 15:03:57 +0100
commit1f746c2605ea2e75dc01bbe454f0b42b7608054b (patch)
tree5a2d76d1c87092e6de5c4090f5e62eb866c421ac /modules/examples
parent3e4583ee9a7d8cd4cdca96a8b332b0f859abeff8 (diff)
update install readme
Diffstat (limited to 'modules/examples')
-rw-r--r--modules/examples/simple.nix8
1 files changed, 2 insertions, 6 deletions
diff --git a/modules/examples/simple.nix b/modules/examples/simple.nix
index 4fa1eca..9071925 100644
--- a/modules/examples/simple.nix
+++ b/modules/examples/simple.nix
@@ -7,14 +7,10 @@
[ pkgs.nix-repl
];
+ # Create /etc/bashrc that loads the nix-darwin environment.
programs.bash.enable = true;
- programs.bash.interactiveShellInit = ''
- # Edit the NIX_PATH entries below or put the nix-darwin repository in
- # ~/.nix-defexpr/darwin and your configuration in ~/.nixpkgs/darwin-config.nix
-
- export NIX_PATH=darwin=$HOME/.nix-defexpr/darwin:darwin-config=$HOME/.nixpkgs/darwin-config.nix:$NIX_PATH
- '';
+ # Recreate /run/current-system symlink after boot.
services.activate-system.enable = true;
}