nix-config/system/darwin/default.nix
2025-08-23 15:58:02 +02:00

55 lines
1.1 KiB
Nix

{ pkgs, ... }:
{
fonts.packages = import ../../home/fonts { inherit pkgs; };
nix.linux-builder.enable = true;
users.users = {
larstvei = {
home = "/Users/larstvei";
shell = pkgs.fish;
};
};
programs.fish.enable = true;
environment.shells = [ pkgs.fish ];
system = {
primaryUser = "larstvei";
stateVersion = 4;
keyboard = {
enableKeyMapping = true;
remapCapsLockToControl = true;
};
defaults = {
screencapture = {
location = "/tmp";
};
dock = {
autohide = true;
showhidden = true;
mru-spaces = false;
};
finder = {
AppleShowAllExtensions = true;
QuitMenuItem = true;
FXEnableExtensionChangeWarning = true;
};
NSGlobalDomain = {
AppleKeyboardUIMode = 3;
ApplePressAndHoldEnabled = false;
AppleFontSmoothing = 1;
_HIHideMenuBar = true;
InitialKeyRepeat = 15;
KeyRepeat = 1;
"com.apple.mouse.tapBehavior" = 1;
"com.apple.swipescrolldirection" = true;
};
};
};
}