nix-config/echidna.nix

97 lines
2.3 KiB
Nix
Raw Normal View History

2022-01-18 09:32:55 +01:00
{ config, pkgs, ... }:
let
home-manager = builtins.fetchTarball {
url = "https://github.com/nix-community/home-manager/archive/master.tar.gz";
};
choose-pass =
pkgs.callPackage ./macos/choose-pass.nix { inherit config pkgs; };
in {
imports = [ "${home-manager}/nix-darwin" ./macos/desktop.nix ];
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 = [
choose-pass
2022-01-31 11:53:42 +01:00
pkgs.ansible
pkgs.cheat
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
pkgs.gnupg
pkgs.google-cloud-sdk
pkgs.htop
pkgs.jq
pkgs.mosh
2022-02-10 11:43:27 +01:00
pkgs.neofetch
2022-01-18 09:32:55 +01:00
pkgs.pass
2022-01-31 11:53:42 +01:00
pkgs.pipenv
2022-01-18 09:32:55 +01:00
pkgs.ripgrep
pkgs.terraform
2022-01-31 11:53:42 +01:00
pkgs.vagrant
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
];
# 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-01-31 11:53:42 +01:00
casks = [ "kmbmpdc" "librewolf" "virtualbox" ];
2022-02-02 16:31:31 +01:00
brews = [ "pyenv" "mpd" "choose-gui" "vitetris" ];
2022-01-18 09:32:55 +01:00
taps =
[ "homebrew/bundle" "homebrew/cask" "homebrew/core" "homebrew/services" ];
};
fonts = {
enableFontDir = true;
fonts = [
(pkgs.nerdfonts.override { fonts = [ "Hack" "MPlus" ]; })
pkgs.inter
pkgs.hack-font
pkgs.libertinus
];
};
users.users.rilla = {
name = "rilla";
home = "/Users/rilla";
};
2022-01-18 10:35:59 +01:00
home-manager.users.rilla = import ./home/echidna.nix;
2022-01-18 09:32:55 +01:00
system.stateVersion = 4;
}