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; gitEmail = globals.gitEmail;
mailServer = globals.mailServer; mailServer = globals.mailServer;
dotfilesRepo = globals.dotfilesRepo; dotfilesRepo = globals.dotfilesRepo;
dotfilesPath = "/Users/Noah.Masur/dev/dotfiles";
gui = { gui = {
enable = true; enable = true;
colorscheme = globals.gui.colorscheme; colorscheme = globals.gui.colorscheme;

View File

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

View File

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

View File

@ -19,7 +19,7 @@
}; };
accounts.email = { accounts.email = {
maildirBasePath = "/home/${config.user}/mail"; maildirBasePath = "/Users/${config.user}/mail";
accounts = { accounts = {
home = let address = "${config.user}@${config.mailServer}"; home = let address = "${config.user}@${config.mailServer}";
in { in {
@ -68,7 +68,7 @@
mu.enable = false; mu.enable = false;
notmuch.enable = false; notmuch.enable = false;
passwordCommand = 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 builtins.toString ./mailpass.age
}"; }";
smtp = { smtp = {

View File

@ -60,7 +60,7 @@
bind yy fish_clipboard_copy bind yy fish_clipboard_copy
bind Y fish_clipboard_copy bind Y fish_clipboard_copy
bind -M visual 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_vi_force_cursor
set -g fish_cursor_default block set -g fish_cursor_default block
set -g fish_cursor_insert line set -g fish_cursor_insert line