nix-config/echidna.nix

145 lines
3.1 KiB
Nix

{ config, pkgs, ... }:
let
choose-pass =
pkgs.callPackage ./macos/choose-pass.nix { inherit config pkgs; };
in {
nix.extraOptions = ''
experimental-features = nix-command flakes
'';
# List packages installed in system profile. To search by name, run:
# $ nix-env -qaP | grep wget
# environment.systemPackages = [ ];
environment.systemPackages = [
(pkgs.pass.withExtensions (exts: [ exts.pass-otp ]))
choose-pass
# pkgs.khal
pkgs.alacritty
pkgs.ansible
pkgs.black
pkgs.cheat
pkgs.cmatrix
pkgs.colima
pkgs.coreutils-full
pkgs.csvkit
pkgs.curl
pkgs.diff-so-fancy
pkgs.docker-client
pkgs.docker-machine
pkgs.exa
pkgs.fzf
pkgs.getopt
pkgs.gnupg
pkgs.google-cloud-sdk
pkgs.gping
pkgs.hlint
pkgs.htop
pkgs.imagemagick
pkgs.jq
pkgs.khard
pkgs.libmysqlclient.dev
pkgs.mosh
pkgs.mpc-cli
pkgs.ncmpcpp
pkgs.neofetch
pkgs.neomutt
pkgs.neovim
pkgs.newsboat
pkgs.nixfmt
pkgs.nodePackages.pyright
pkgs.openssh
pkgs.pinentry_mac
pkgs.pipenv
pkgs.python310Full
pkgs.python310Packages.pip
pkgs.python310Packages.virtualenvwrapper
pkgs.pythonFull
pkgs.ripgrep
pkgs.shellcheck
pkgs.shfmt
pkgs.sqlfluff
pkgs.starship
pkgs.stow
pkgs.terraform
pkgs.tmux
pkgs.tree
pkgs.urlscan
pkgs.vagrant
pkgs.vdirsyncer
pkgs.virtualenv
pkgs.wget
pkgs.wireguard-tools
pkgs.yubikey-personalization
pkgs.zsh
];
# Use a custom configuration.nix location.
# $ darwin-rebuild switch -I darwin-config=$HOME/.config/nixpkgs/darwin/configuration.nix
environment.darwinConfig = "/Users/rilla/configs/nix-config/echidna.nix";
# environment.variables.DOCKER_HOST = "tcp://localhost:2375";
# Auto upgrade nix package and the daemon service.
services.nix-daemon.enable = true;
# nix.package = pkgs.nix;
# Create /etc/bashrc that loads the nix-darwin environment.
programs.zsh.enable = true; # default shell on catalina
# programs.fish.enable = true;
# Used for backwards compatibility, please read the changelog before changing.
# $ darwin-rebuild changelog
programs.gnupg.agent = {
enable = true;
enableSSHSupport = true;
};
homebrew = {
enable = true;
autoUpdate = true;
cleanup = "zap";
global = {
brewfile = true;
noLock = true;
};
casks = [ "kmbmpdc" "librewolf" "virtualbox" "bluetility" ];
brews = [
"pyenv"
"pyenv-virtualenv"
"mpd"
"choose-gui"
"vitetris"
"yabai"
"skhd"
"spacebar"
"gnu-getopt"
"coreutils"
"pinentry-mac"
# "qmk"
"dbt-bigquery"
];
taps = [
"homebrew/bundle"
"homebrew/cask"
"homebrew/core"
"homebrew/services"
"koekeishiya/formulae"
"cmacrae/formulae"
# "qmk/qmk"
"dbt-labs/dbt"
];
};
fonts = {
fontDir.enable = true;
fonts = [
(pkgs.nerdfonts.override { fonts = [ "Hack" "MPlus" ]; })
pkgs.inter
pkgs.hack-font
pkgs.libertinus
];
};
system.stateVersion = 4;
}