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

update programs example

This commit is contained in:
Daiderd Jordan 2016-12-18 17:54:48 +01:00
parent 08aa4bec9c
commit 7ed29587d3
No known key found for this signature in database
GPG key ID: D02435D05B810C96

View file

@ -142,14 +142,15 @@ A set of modules for predefined services, these generate the appropriate launchd
A set of modules to manage configuration of certain programs.
```nix
{ pkgs, ... }:
{
environment.shellAliases.tm = "${pkgs}/bin/tmux";
environment.shellAliases.ls = "${pkgs.coreutils}/bin/ls";
programs.bash.enable = true;
programs.tmux.enable = true;
programs.tmux.enableSensible = true;
programs.tmux.loginShell = "${config.programs.bash.shell} -l";
programs.vim.enable = true;
programs.vim.enableSensible = true;
}
```