nix-config/echidna.nix

168 lines
3.5 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 {
2022-07-11 17:56:23 +02:00
nix.extraOptions = ''
experimental-features = nix-command flakes
'';
2022-01-18 09:32:55 +01:00
# 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-20 13:05:13 +02:00
# pkgs.khal
2022-07-11 15:21:47 +02:00
pkgs.alacritty
2022-12-11 16:08:56 +01:00
pkgs.gopass
2022-01-31 11:53:42 +01:00
pkgs.ansible
2022-07-28 11:41:56 +02:00
pkgs.bat
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-07-20 13:05:13 +02:00
pkgs.diff-so-fancy
2022-01-31 11:53:42 +01:00
pkgs.docker-client
pkgs.docker-machine
2022-07-20 13:05:13 +02:00
pkgs.exa
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
2022-07-28 11:41:56 +02:00
pkgs.go
2022-01-18 09:32:55 +01:00
pkgs.google-cloud-sdk
2022-07-20 13:05:13 +02:00
pkgs.gping
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.khard
pkgs.libmysqlclient.dev
2022-01-18 09:32:55 +01:00
pkgs.mosh
2022-07-20 13:05:13 +02:00
pkgs.mpc-cli
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
2022-12-11 16:08:56 +01:00
# pkgs.neovim
2022-07-11 15:21:47 +02:00
pkgs.newsboat
pkgs.nixfmt
pkgs.nodePackages.pyright
pkgs.openssh
pkgs.pinentry_mac
2022-01-31 11:53:42 +01:00
pkgs.pipenv
2022-07-20 13:05:13 +02:00
pkgs.python310Full
pkgs.python310Packages.pip
pkgs.python310Packages.virtualenvwrapper
pkgs.pythonFull
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
2022-07-20 13:05:13 +02:00
pkgs.starship
2022-07-11 15:21:47 +02:00
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-09-06 10:16:06 +02:00
pkgs.wireguard-go
2022-07-11 16:46:10 +02:00
pkgs.wireguard-tools
2022-01-18 09:32:55 +01:00
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;
2022-12-11 16:08:56 +01:00
onActivation = {
cleanup = "zap";
autoUpdate = true;
upgrade = true;
};
2022-01-18 09:32:55 +01:00
global = {
brewfile = true;
2022-12-11 16:08:56 +01:00
lockfiles = true;
2022-01-18 09:32:55 +01:00
};
2022-07-11 15:21:47 +02:00
casks = [ "kmbmpdc" "librewolf" "virtualbox" "bluetility" ];
brews = [
"pyenv"
"pyenv-virtualenv"
"mpd"
"choose-gui"
"vitetris"
"yabai"
"skhd"
2022-12-11 16:08:56 +01:00
"neovim"
2022-07-11 15:21:47 +02:00
"spacebar"
"gnu-getopt"
"coreutils"
2022-07-11 16:52:59 +02:00
"pinentry-mac"
2022-07-11 15:21:47 +02:00
# "qmk"
2022-07-20 13:05:13 +02:00
"dbt-bigquery"
2022-07-11 15:21:47 +02:00
];
taps = [
"homebrew/bundle"
"homebrew/cask"
"homebrew/core"
"homebrew/services"
"koekeishiya/formulae"
"cmacrae/formulae"
# "qmk/qmk"
2022-07-20 13:05:13 +02:00
"dbt-labs/dbt"
2022-07-11 15:21:47 +02:00
];
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
];
};
2022-07-28 11:41:56 +02:00
users.users.rilla = {
name = "rilla";
home = "/Users/rilla";
};
home-manager = {
users.rilla = {
programs.direnv = {
enable = true;
nix-direnv.enable = true;
};
home.stateVersion = "22.11";
};
};
2022-01-18 09:32:55 +01:00
system.stateVersion = 4;
}