1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2024-12-14 11:57:34 +00:00

readme: update with better example config

This commit is contained in:
Daiderd Jordan 2018-03-26 22:47:40 +02:00
parent 49a56612c0
commit 133b43a2cf
No known key found for this signature in database
GPG key ID: D02435D05B810C96

View file

@ -49,19 +49,15 @@ Check out [modules/examples](https://github.com/LnL7/nix-darwin/tree/master/modu
```nix
{ pkgs, ... }:
{
# List packages installed in system profile. To search by name, run:
# $ nix-env -qaP | grep wget
environment.systemPackages =
[ pkgs.nix-repl
];
# Create /etc/bashrc that loads the nix-darwin environment.
programs.bash.enable = true;
# Recreate /run/current-system symlink after boot.
services.activate-system.enable = true;
# Auto upgrade nix package and the daemon service.
services.nix-daemon.enable = true;
nix.package = pkgs.nix;
}
```