Update system.nix

This commit is contained in:
Tobias Ostner 2023-12-12 09:14:40 +01:00
parent 50e4e444b8
commit 5f8cbf469b
2 changed files with 54 additions and 32 deletions

View file

@ -9,17 +9,5 @@
pathsToLink = [ "/Applications" ]; pathsToLink = [ "/Applications" ];
}; };
fonts.fonts = [
(pkgs.nerdfonts.override {
fonts = [
"FiraCode"
"Iosevka"
"IosevkaTerm"
"JetBrainsMono"
"SourceCodePro"
];
})
];
users.users.tobi.shell = pkgs.zshInteractive; users.users.tobi.shell = pkgs.zshInteractive;
}) })

View file

@ -6,25 +6,46 @@
''; '';
defaults = { defaults = {
NSGlobalDomain."com.apple.mouse.tapBehavior" = 1; dock= {
NSGlobalDomain.AppleShowAllExtensions = true; autohide = true;
NSGlobalDomain.AppleShowAllFiles = true; autohide-time-modifier = 0.1;
NSGlobalDomain.InitialKeyRepeat = 14; expose-animation-duration = 0.0;
NSGlobalDomain.KeyRepeat = 1; mru-spaces = false;
dock.autohide = true; orientation = "right";
dock.autohide-time-modifier = 0.1; show-recents = false;
dock.expose-animation-duration = 0.0; };
dock.mru-spaces = false;
dock.orientation = "right"; finder = {
finder.AppleShowAllExtensions = true; AppleShowAllExtensions = true;
finder.AppleShowAllFiles = true; AppleShowAllFiles = true;
finder.CreateDesktop = false; CreateDesktop = false;
finder.FXPreferredViewStyle = "Nlsv"; FXPreferredViewStyle = "Nlsv";
finder.QuitMenuItem = true; QuitMenuItem = true;
finder._FXShowPosixPathInTitle = true; ShowPathbar = true;
menuExtraClock.Show24Hour = true; ShowStatusBar = true;
menuExtraClock.ShowDate = 0; _FXShowPosixPathInTitle = true;
menuExtraClock.ShowDayOfWeek = false; };
trackpad = {
Clicking = true;
TrackpadRightClick = true;
TrackpadThreeFingerDrag = true;
};
menuExtraClock = {
Show24Hour = true;
ShowDate = 0;
ShowDayOfWeek = false;
};
NSGlobalDomain = {
AppleInterfaceStyle = "Dark";
AppleShowAllExtensions = true;
AppleShowAllFiles = true;
InitialKeyRepeat = 14;
KeyRepeat = 1;
"com.apple.mouse.tapBehavior" = 1;
};
}; };
}; };
@ -32,4 +53,17 @@
programs.zsh.enable = true; programs.zsh.enable = true;
fonts.fonts = [
pkgs.material-design-icons
pkgs.font-awesome
(pkgs.nerdfonts.override {
fonts = [
"FiraCode"
"Iosevka"
"IosevkaTerm"
"JetBrainsMono"
"SourceCodePro"
];
})
];
} }