Files
flake/modules/cli/darwin.nix
2025-09-30 16:35:28 +02:00

44 lines
812 B
Nix

{pkgs, ...}: {
imports = [
./nix/nix.nix
];
nix.package = pkgs.nix;
programs.gnupg.agent = {
enable = true;
enableSSHSupport = true;
};
environment.systemPackages = with pkgs; [
docker-compose
git
man-pages
man-pages-posix
vim
tmux
jq
];
programs.zsh.enable = true;
programs.nix-index-database.comma.enable = true;
environment.shells = with pkgs; [zsh];
documentation = {
enable = true;
man = {
enable = true;
};
info.enable = true;
};
launchd.user.agents.caffeinate = {
command = "${pkgs.darwin.PowerManagement}/bin/caffeinate -diu";
serviceConfig = {
KeepAlive = true;
RunAtLoad = true;
StandardOutPath = "/tmp/caffeinate.log";
StandardErrorPath = "/tmp/caffeinate.err";
};
};
}