dotfiles.nix/darwin/default.nix

63 lines
1.3 KiB
Nix
Raw Normal View History

2022-04-21 01:26:30 +00:00
{ config, pkgs, lib, ... }:
2022-01-23 01:32:58 +00:00
{
imports = [
./bootstrap.nix
./homebrew.nix
./macos-defaults.nix
];
# Apps
# `home-manager` currently has issues adding them to `~/Applications`
# Issue: https://github.com/nix-community/home-manager/issues/1341
2022-07-17 17:24:28 +00:00
# See workaround at ../home/copyApplications.nix
2022-01-23 01:32:58 +00:00
environment.systemPackages = with pkgs; [
2022-04-21 01:26:30 +00:00
discord-ptb
element-desktop
# firefox *
2022-01-23 01:32:58 +00:00
kitty
2022-04-21 01:26:30 +00:00
lagrange
# mullvad-vpn *
obsidian
# signal-desktop *
slack
# steam *
2022-01-23 01:32:58 +00:00
terminal-notifier
2022-04-21 01:26:30 +00:00
# zoom-us *
# *no nixpkgs darwin support T.T
2022-01-23 01:32:58 +00:00
];
# https://github.com/nix-community/home-manager/issues/423
environment.variables = {
TERMINFO_DIRS = "${pkgs.kitty.terminfo.outPath}/share/terminfo";
};
programs.nix-index.enable = true;
environment.shells = with pkgs; [
bashInteractive
fish
zsh
];
# Fonts
2022-05-08 01:43:56 +00:00
fonts.fontDir.enable = true;
2022-01-23 01:32:58 +00:00
fonts.fonts = with pkgs; [
recursive
(nerdfonts.override {
fonts = [
"FantasqueSansMono"
"JetBrainsMono"
"FiraCode"
"SourceCodePro"
];
})
];
# Keyboard
# system.keyboard.enableKeyMapping = true;
# system.keyboard.remapCapsLockToEscape = true;
# Add ability to used TouchID for sudo authentication
security.pam.enableSudoTouchIdAuth = true;
}