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:
parent
41d40d0417
commit
da4433fbf8
5 changed files with 17 additions and 11 deletions
|
@ -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;
|
||||
|
||||
}
|
||||
```
|
||||
|
|
|
@ -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,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;
|
||||
|
||||
}
|
||||
|
|
|
@ -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
|
||||
];
|
||||
|
||||
};
|
||||
}
|
||||
|
|
|
@ -66,8 +66,10 @@ in
|
|||
};
|
||||
|
||||
config = {
|
||||
|
||||
_module.args.pkgs = import <nixpkgs> {
|
||||
inherit (config.nixpkgs) config;
|
||||
};
|
||||
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue