dotfiles/dot-config/nix-darwin/modules/darwin/global.nix

87 lines
1.8 KiB
Nix
Raw Permalink Normal View History

2024-03-29 20:49:45 -04:00
{ self, pkgs, ... }:
{
# List packages installed in system profile. To search by name, run:
# $ nix-env -qaP | grep wget
environment.systemPackages = with pkgs; [
fish
git
curl
tmux
];
environment.shells = [ pkgs.fish ];
# Auto upgrade nix package and the daemon service.
services.nix-daemon.enable = true;
# nix.package = pkgs.nix;
nix.settings = {
# Necessary for using flakes on this system.
experimental-features = "nix-command flakes";
substituters = [
"https://nix-community.cachix.org"
"https://cache.nixos.org"
];
trusted-public-keys = [
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
];
trusted-users = ["root" "sloane"];
};
# Create /etc/zshrc 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
system.stateVersion = 4;
system.defaults = {
dock = {
orientation = "bottom";
autohide = true;
autohide-delay = 0.1;
show-recents = false;
};
};
homebrew = {
enable = true;
onActivation = {
autoUpdate = true;
upgrade = true;
};
2024-04-24 10:11:46 -04:00
brews = [
"openssl"
"wxwidgets"
];
2024-04-12 11:08:47 -04:00
taps = [
"homebrew/cask-fonts"
];
2024-03-29 20:49:45 -04:00
casks = [
"1password"
"alfred"
2024-04-24 10:11:46 -04:00
"appcleaner"
2024-05-08 14:04:28 -04:00
"dash@6"
2024-03-29 20:49:45 -04:00
"fantastical"
"firefox"
"karabiner-elements"
"keepingyouawake"
"kitty"
"obsidian"
"unnaturalscrollwheels"
2024-05-13 08:04:16 -04:00
"syncthing"
2024-06-03 09:46:26 -04:00
"rectangle"
2024-03-29 20:49:45 -04:00
"font-cousine-nerd-font"
2024-04-04 08:53:03 -04:00
"font-victor-mono-nerd-font"
"font-recursive-mono-nerd-font"
2024-03-29 20:49:45 -04:00
];
masApps = {
"Things 3" = 904280696;
2024-05-13 08:03:20 -04:00
"Hand Mirror" = 1502839586;
2024-03-29 20:49:45 -04:00
};
};
}