mirror of
https://github.com/larstvei/nix-config.git
synced 2025-08-30 12:50:12 +00:00
83 lines
1.5 KiB
Nix
83 lines
1.5 KiB
Nix
{ pkgs, ... }:
|
|
{
|
|
|
|
fonts.packages = import ../../home/fonts { inherit pkgs; };
|
|
|
|
users.users = {
|
|
larstvei = {
|
|
home = "/Users/larstvei";
|
|
shell = pkgs.fish;
|
|
};
|
|
};
|
|
|
|
programs.fish.enable = true;
|
|
|
|
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;
|
|
};
|
|
};
|
|
};
|
|
|
|
homebrew = {
|
|
enable = true;
|
|
onActivation = {
|
|
# autoUpdate = true;
|
|
upgrade = true;
|
|
cleanup = "uninstall";
|
|
};
|
|
casks = [
|
|
"amethyst"
|
|
"arc"
|
|
"chatgpt"
|
|
"darktable"
|
|
"dropbox"
|
|
"google-chrome"
|
|
"iina"
|
|
"karabiner-elements"
|
|
"obs"
|
|
"ollama"
|
|
"processing"
|
|
"racket"
|
|
"raycast"
|
|
"remarkable"
|
|
"signal"
|
|
"skim"
|
|
"supercollider"
|
|
"utm"
|
|
"zoom"
|
|
"zen-browser"
|
|
];
|
|
};
|
|
}
|