add nix-tools to environment.systemPackages by default

This commit is contained in:
Daiderd Jordan
2016-12-11 16:33:42 +01:00
parent 41d40d0417
commit da4433fbf8
5 changed files with 17 additions and 11 deletions
+4 -4
View File
@@ -48,10 +48,7 @@ Checkout [modules/examples](https://github.com/LnL7/nix-darwin/tree/master/modul
# List packages installed in system profile. To search by name, run:
# $ nix-env -qaP | grep wget
environment.systemPackages =
[ # Include nix-tools
config.system.build.nix
pkgs.nix-repl
[ pkgs.nix-repl
];
environment.etc."bashrc".text = ''
@@ -69,5 +66,8 @@ Checkout [modules/examples](https://github.com/LnL7/nix-darwin/tree/master/modul
${config.system.build.setEnvironment}
${config.system.build.setAliases}
'';
services.activate-system.enable = true;
}
```
+2 -3
View File
@@ -1,11 +1,10 @@
{ config, lib, pkgs, ... }:
{
environment.systemPackages =
[ config.system.build.nix
pkgs.lnl.zsh
[ pkgs.lnl.zsh
pkgs.lnl.tmux
pkgs.lnl.vim
pkgs.curl
pkgs.fzf
pkgs.gettext
+4 -4
View File
@@ -4,10 +4,7 @@
# List packages installed in system profile. To search by name, run:
# $ nix-env -qaP | grep wget
environment.systemPackages =
[ # Include nix-tools
config.system.build.nix
pkgs.nix-repl
[ pkgs.nix-repl
];
environment.etc."bashrc".text = ''
@@ -25,4 +22,7 @@
${config.system.build.setEnvironment}
${config.system.build.setAliases}
'';
services.activate-system.enable = true;
}
+5
View File
@@ -15,5 +15,10 @@ in
ln -s ${tools.darwin-rebuild} $out/bin/darwin-rebuild
'';
environment.systemPackages =
[ # Include nix-tools by default
config.system.build.nix
];
};
}
+2
View File
@@ -66,8 +66,10 @@ in
};
config = {
_module.args.pkgs = import <nixpkgs> {
inherit (config.nixpkgs) config;
};
};
}