58 lines
1.5 KiB
Nix
58 lines
1.5 KiB
Nix
({ pkgs, ... }: {
|
|
programs.zsh.enable = true;
|
|
environment = {
|
|
shells = with pkgs; [ bash zsh fish ];
|
|
loginShell = pkgs.zsh;
|
|
systemPath = [ "/opt/homebrew/bin" ];
|
|
pathsToLink = [ "/Applications" ];
|
|
};
|
|
fonts.fonts = [
|
|
(pkgs.nerdfonts.override {
|
|
fonts = [
|
|
"FiraCode"
|
|
"Iosevka"
|
|
"IosevkaTerm"
|
|
"JetBrainsMono"
|
|
"SourceCodePro"
|
|
];
|
|
})
|
|
];
|
|
nix.extraOptions = ''
|
|
experimental-features = nix-command flakes
|
|
'';
|
|
services.nix-daemon.enable = true;
|
|
system.defaults = {
|
|
dock.autohide = true;
|
|
dock.autohide-time-modifier = 0.1;
|
|
dock.expose-animation-duration = 0.0;
|
|
dock.mru-spaces = false;
|
|
dock.orientation = "right";
|
|
NSGlobalDomain.InitialKeyRepeat = 14;
|
|
NSGlobalDomain.KeyRepeat = 1;
|
|
NSGlobalDomain.AppleShowAllExtensions = true;
|
|
NSGlobalDomain.AppleShowAllFiles = true;
|
|
NSGlobalDomain."com.apple.mouse.tapBehavior" = 1;
|
|
finder.AppleShowAllExtensions = true;
|
|
finder.AppleShowAllFiles = true;
|
|
finder.CreateDesktop = false;
|
|
finder.FXPreferredViewStyle = "Nlsv";
|
|
finder.QuitMenuItem = true;
|
|
finder._FXShowPosixPathInTitle = true;
|
|
menuExtraClock.ShowDate = 0;
|
|
menuExtraClock.ShowDayOfWeek = false;
|
|
};
|
|
users.users.tobi.description = "Tobias Ostner";
|
|
users.users.tobi.home = "/Users/tobi";
|
|
users.users.tobi.shell = pkgs.zshInteractive;
|
|
homebrew = {
|
|
enable = true;
|
|
brews = [
|
|
"imagemagick"
|
|
"trippy"
|
|
];
|
|
casks = [
|
|
"firefox"
|
|
"amethyst"
|
|
];
|
|
};
|
|
})
|