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 = [
|
imports = [
|
||||||
./apfs-cleanup.nix
|
./apfs-cleanup.nix
|
||||||
./network.nix
|
./network.nix
|
||||||
./optimise.nix
|
./optimise.nix
|
||||||
|
./packages.nix
|
||||||
./reboot.nix
|
./reboot.nix
|
||||||
./software-update.nix
|
./software-update.nix
|
||||||
./telegraf.nix
|
./telegraf.nix
|
||||||
|
@ -31,8 +32,6 @@
|
||||||
"flakes"
|
"flakes"
|
||||||
];
|
];
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [ htop ];
|
|
||||||
|
|
||||||
system.includeUninstaller = false;
|
system.includeUninstaller = false;
|
||||||
|
|
||||||
# srvos
|
# 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
|
pkgs.zsh
|
||||||
];
|
];
|
||||||
|
|
||||||
environment.systemPackages = [
|
|
||||||
pkgs.vim
|
|
||||||
];
|
|
||||||
|
|
||||||
launchd.daemons.nixpkgs-clone = {
|
launchd.daemons.nixpkgs-clone = {
|
||||||
environment = {
|
environment = {
|
||||||
inherit (config.environment.variables) NIX_SSL_CERT_FILE;
|
inherit (config.environment.variables) NIX_SSL_CERT_FILE;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue