41 lines
970 B
Nix
41 lines
970 B
Nix
|
{ config, pkgs, lib, ... }:
|
||
|
|
||
|
{
|
||
|
# Apps
|
||
|
# `home-manager` currently has issues adding them to `~/Applications`
|
||
|
# Issue: https://github.com/nix-community/home-manager/issues/1341
|
||
|
# See workaround at ../home/copyApplications.nix
|
||
|
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
|
||
|
fonts.fontDir.enable = true;
|
||
|
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;
|
||
|
|
||
|
}
|