mirror of
https://github.com/zoriya/flake.git
synced 2025-12-06 06:36:19 +00:00
44 lines
812 B
Nix
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";
|
|
};
|
|
};
|
|
}
|