more macos hacks

This commit is contained in:
Noah Masur 2022-06-18 15:45:51 -04:00
parent e2189397fc
commit 518d788c73
5 changed files with 13 additions and 10 deletions

View File

@ -12,6 +12,7 @@ darwin.lib.darwinSystem {
gitEmail = globals.gitEmail;
mailServer = globals.mailServer;
dotfilesRepo = globals.dotfilesRepo;
dotfilesPath = "/Users/Noah.Masur/dev/dotfiles";
gui = {
enable = true;
colorscheme = globals.gui.colorscheme;

View File

@ -1,5 +1,7 @@
{ ... }: {
services.nix-daemon.enable = true;
system = {
keyboard = {
@ -97,12 +99,12 @@
# Disable trackpad tap to click
trackpad.Clicking = false;
universalaccess = {
# universalaccess = {
# Zoom in with Control + Scroll Wheel
closeViewScrollWheelToggle = true;
closeViewZoomFollowsFocus = true;
};
# # Zoom in with Control + Scroll Wheel
# closeViewScrollWheelToggle = true;
# closeViewZoomFollowsFocus = true;
# };
# Where to save screenshots
screencapture.location = "~/Downloads";

View File

@ -35,8 +35,8 @@
};
fonts.fonts = with pkgs;
[ (nerdfonts.override { fonts = [ "FiraCode" ]; }) ];
# fonts.fonts = with pkgs;
# [ (nerdfonts.override { fonts = [ "FiraCode" ]; }) ];
}

View File

@ -19,7 +19,7 @@
};
accounts.email = {
maildirBasePath = "/home/${config.user}/mail";
maildirBasePath = "/Users/${config.user}/mail";
accounts = {
home = let address = "${config.user}@${config.mailServer}";
in {
@ -68,7 +68,7 @@
mu.enable = false;
notmuch.enable = false;
passwordCommand =
"${pkgs.age}/bin/age --decrypt --identity /home/${config.user}/.ssh/id_ed25519 ${
"${pkgs.age}/bin/age --decrypt --identity /Users/${config.user}/.ssh/id_ed25519 ${
builtins.toString ./mailpass.age
}";
smtp = {

View File

@ -60,7 +60,7 @@
bind yy fish_clipboard_copy
bind Y fish_clipboard_copy
bind -M visual y fish_clipboard_copy
bind p fish_clipboard_paste
bind -M default p fish_clipboard_paste
set -g fish_vi_force_cursor
set -g fish_cursor_default block
set -g fish_cursor_insert line