1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2025-03-28 02:37:09 +00:00

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
No known key found for this signature in database
GPG key ID: D02435D05B810C96
5 changed files with 17 additions and 11 deletions

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;
}
```

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

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;
}

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
];
};
}

View file

@ -66,8 +66,10 @@ in
};
config = {
_module.args.pkgs = import <nixpkgs> {
inherit (config.nixpkgs) config;
};
};
}