dotfiles.nix/darwin/general.nix

41 lines
970 B
Nix
Raw Normal View History

2022-04-21 01:26:30 +00:00
{ config, pkgs, lib, ... }:
2022-01-23 01:32:58 +00:00
{
# 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; [
kitty
terminal-notifier
];
# https://github.com/nix-community/home-manager/issues/423
environment.variables = {
TERMINFO_DIRS = "${pkgs.kitty.terminfo.outPath}/share/terminfo";
};
programs.nix-index.enable = true;
# 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;
}