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:
parent
49a56612c0
commit
133b43a2cf
1 changed files with 3 additions and 7 deletions
10
README.md
10
README.md
|
@ -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;
|
||||
}
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue