modules/darwin: add packages

This commit is contained in:
zowoq 2024-09-26 12:59:00 +10:00
parent f6a8e5703b
commit a74d7f2502
3 changed files with 21 additions and 7 deletions
modules/darwin
common
community-builder

View file

@ -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

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

View file

@ -21,10 +21,6 @@
pkgs.zsh
];
environment.systemPackages = [
pkgs.vim
];
launchd.daemons.nixpkgs-clone = {
environment = {
inherit (config.environment.variables) NIX_SSL_CERT_FILE;