nix-config/echidna.nix

138 lines
2.9 KiB
Nix
Raw Normal View History

2022-01-18 09:32:55 +01:00
{ config, pkgs, ... }:
let
choose-pass =
pkgs.callPackage ./macos/choose-pass.nix { inherit config pkgs; };
in {
# List packages installed in system profile. To search by name, run:
# $ nix-env -qaP | grep wget
# environment.systemPackages = [ ];
environment.systemPackages = [
2022-07-11 15:21:47 +02:00
(pkgs.pass.withExtensions (exts: [ exts.pass-otp ]))
2022-01-18 09:32:55 +01:00
choose-pass
2022-07-11 15:21:47 +02:00
pkgs.alacritty
2022-01-31 11:53:42 +01:00
pkgs.ansible
2022-07-11 15:21:47 +02:00
pkgs.black
2022-01-31 11:53:42 +01:00
pkgs.cheat
2022-07-11 15:21:47 +02:00
pkgs.cmatrix
2022-02-02 16:31:31 +01:00
pkgs.colima
2022-01-18 09:32:55 +01:00
pkgs.coreutils-full
2022-01-19 11:23:51 +01:00
pkgs.csvkit
2022-01-18 09:32:55 +01:00
pkgs.curl
2022-01-31 11:53:42 +01:00
pkgs.docker-client
pkgs.docker-machine
2022-01-18 09:32:55 +01:00
pkgs.fzf
2022-07-11 15:21:47 +02:00
pkgs.getopt
2022-01-18 09:32:55 +01:00
pkgs.gnupg
pkgs.google-cloud-sdk
2022-07-11 15:21:47 +02:00
pkgs.hlint
2022-01-18 09:32:55 +01:00
pkgs.htop
2022-07-11 15:21:47 +02:00
pkgs.imagemagick
2022-01-18 09:32:55 +01:00
pkgs.jq
2022-07-11 15:21:47 +02:00
pkgs.khal
pkgs.khard
pkgs.libmysqlclient.dev
2022-01-18 09:32:55 +01:00
pkgs.mosh
2022-07-11 15:21:47 +02:00
pkgs.ncmpcpp
2022-02-10 11:43:27 +01:00
pkgs.neofetch
2022-07-11 15:21:47 +02:00
pkgs.neomutt
pkgs.newsboat
pkgs.nixfmt
pkgs.nodePackages.pyright
pkgs.openssh
pkgs.pinentry_mac
2022-01-31 11:53:42 +01:00
pkgs.pipenv
2022-07-11 15:21:47 +02:00
pkgs.python39Full
pkgs.python39Packages.virtualenvwrapper
2022-01-18 09:32:55 +01:00
pkgs.ripgrep
2022-02-21 17:52:55 +01:00
pkgs.shellcheck
2022-07-11 15:21:47 +02:00
pkgs.shfmt
pkgs.sqlfluff
pkgs.stow
2022-01-18 09:32:55 +01:00
pkgs.terraform
2022-07-11 15:21:47 +02:00
pkgs.tmux
2022-02-21 17:52:55 +01:00
pkgs.tree
2022-07-11 15:21:47 +02:00
pkgs.urlscan
2022-01-31 11:53:42 +01:00
pkgs.vagrant
2022-07-11 15:21:47 +02:00
pkgs.vdirsyncer
2022-02-10 11:43:27 +01:00
pkgs.virtualenv
pkgs.wget
2022-01-18 09:32:55 +01:00
pkgs.wireguard
pkgs.yubikey-personalization
2022-07-11 15:21:47 +02:00
pkgs.zsh
2022-01-18 09:32:55 +01:00
];
# Use a custom configuration.nix location.
# $ darwin-rebuild switch -I darwin-config=$HOME/.config/nixpkgs/darwin/configuration.nix
2022-01-18 10:58:57 +01:00
environment.darwinConfig = "/Users/rilla/configs/nix-config/echidna.nix";
2022-01-31 11:53:42 +01:00
# environment.variables.DOCKER_HOST = "tcp://localhost:2375";
2022-01-18 09:32:55 +01:00
# 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;
};
2022-07-11 15:21:47 +02:00
casks = [ "kmbmpdc" "librewolf" "virtualbox" "bluetility" ];
brews = [
"pyenv"
"pyenv-virtualenv"
"mpd"
"choose-gui"
"vitetris"
"yabai"
"skhd"
"spacebar"
"gnu-getopt"
"coreutils"
# "qmk"
# "dbt-bigquery"
];
taps = [
"homebrew/bundle"
"homebrew/cask"
"homebrew/core"
"homebrew/services"
"koekeishiya/formulae"
"cmacrae/formulae"
# "qmk/qmk"
# "dbt-labs/dbt"
];
2022-01-18 09:32:55 +01:00
};
fonts = {
2022-07-11 15:21:47 +02:00
fontDir.enable = true;
2022-01-18 09:32:55 +01:00
fonts = [
(pkgs.nerdfonts.override { fonts = [ "Hack" "MPlus" ]; })
pkgs.inter
pkgs.hack-font
pkgs.libertinus
];
};
users.users.rilla = {
name = "rilla";
home = "/Users/rilla";
};
system.stateVersion = 4;
}