mirror of
https://github.com/willemml/dotfiles.nix.git
synced 2025-04-13 19:57:19 +00:00
30 lines
735 B
Nix
30 lines
735 B
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
services.nix-daemon.enable = true;
|
|
|
|
nix.package = pkgs.nix;
|
|
|
|
programs.zsh.enable = true;
|
|
|
|
system = {
|
|
defaults = {
|
|
loginwindow.SHOWFULLNAME = false;
|
|
loginwindow.GuestEnabled = false;
|
|
loginwindow.DisableConsoleAccess = true;
|
|
finder._FXShowPosixPathInTitle = true;
|
|
LaunchServices.LSQuarantine = false;
|
|
};
|
|
keyboard = {
|
|
enableKeyMapping = true;
|
|
|
|
remapCapsLockToEscape = true;
|
|
|
|
# see https://developer.apple.com/library/content/technotes/tn2450/_index.html for more info
|
|
userKeyMapping = [ {
|
|
HIDKeyboardModifierMappingSrc = 30064771303; # remap right command to right control.
|
|
HIDKeyboardModifierMappingDst = 30064771300;
|
|
}];
|
|
};
|
|
};
|
|
}
|