modules/darwin: add packages
This commit is contained in:
parent
f6a8e5703b
commit
a74d7f2502
3 changed files with 21 additions and 7 deletions
modules/darwin
|
@ -1,9 +1,10 @@
|
|||
{ inputs, pkgs, ... }:
|
||||
{ inputs, ... }:
|
||||
{
|
||||
imports = [
|
||||
./apfs-cleanup.nix
|
||||
./network.nix
|
||||
./optimise.nix
|
||||
./packages.nix
|
||||
./reboot.nix
|
||||
./software-update.nix
|
||||
./telegraf.nix
|
||||
|
@ -31,8 +32,6 @@
|
|||
"flakes"
|
||||
];
|
||||
|
||||
environment.systemPackages = with pkgs; [ htop ];
|
||||
|
||||
system.includeUninstaller = false;
|
||||
|
||||
# srvos
|
||||
|
|
19
modules/darwin/common/packages.nix
Normal file
19
modules/darwin/common/packages.nix
Normal file
|
@ -0,0 +1,19 @@
|
|||
{ lib, pkgs, ... }:
|
||||
{
|
||||
# srvos
|
||||
|
||||
environment.systemPackages = map lib.lowPrio [
|
||||
pkgs.curl
|
||||
pkgs.dnsutils
|
||||
pkgs.gitMinimal
|
||||
pkgs.htop
|
||||
pkgs.jq
|
||||
pkgs.tmux
|
||||
];
|
||||
|
||||
programs.vim = {
|
||||
enable = true;
|
||||
# evaluation warning: 'vam' attribute is deprecated
|
||||
package = lib.mkForce pkgs.vim;
|
||||
};
|
||||
}
|
|
@ -21,10 +21,6 @@
|
|||
pkgs.zsh
|
||||
];
|
||||
|
||||
environment.systemPackages = [
|
||||
pkgs.vim
|
||||
];
|
||||
|
||||
launchd.daemons.nixpkgs-clone = {
|
||||
environment = {
|
||||
inherit (config.environment.variables) NIX_SSL_CERT_FILE;
|
||||
|
|
Loading…
Add table
Reference in a new issue