Compare commits

...

6 Commits

Author SHA1 Message Date
Noah Masur
7ddd9d9aa4 add discord to macos dock 2022-11-20 12:12:18 -07:00
Noah Masur
b9ddaf095c replace alacritty with kitty in macos dock 2022-11-20 12:09:03 -07:00
Noah Masur
f304392d58 fix: victormono italic glitch on macos 2022-11-20 11:55:11 -07:00
Noah Masur
3beacf9f3c adjust k9s toggleterm keybind 2022-11-20 11:52:33 -07:00
Noah Masur
44c4084b57 fix: tfvars recognized as terraform 2022-11-20 11:51:46 -07:00
Noah Masur
42237eab13 fix: aerc doesn't recognize config file 2022-11-20 11:38:10 -07:00
5 changed files with 26 additions and 9 deletions

View File

@ -9,6 +9,7 @@
shell = "/run/current-system/sw/bin/fish";
macos_traditional_fullscreen = true;
macos_quit_when_last_window_closed = true;
disable_ligatures = "always";
};
};
};

View File

@ -132,6 +132,16 @@
defaults write com.apple.screensaver askForPassword -int 1
defaults write com.apple.screensaver askForPasswordDelay -int 0
echo "Allow apps from anywhere"
SPCTL=$(spctl --status)
if ! [ "$SPCTL" = "assessments disabled" ]; then
sudo spctl --master-disable
fi
'';
# User-level settings
activationScripts.postUserActivation.text = ''
echo "Show the ~/Library folder"
chflags nohidden ~/Library
@ -161,17 +171,12 @@
"$(__dock_item /System/Applications/Mail.app)" \
"$(__dock_item /Applications/Mimestream.app)" \
"$(__dock_item /Applications/zoom.us.app)" \
"$(__dock_item ${pkgs.discord}/Applications/Discord.app)" \
"$(__dock_item /Applications/Obsidian.app)" \
"$(__dock_item /Applications/Alacritty.app)" \
"$(__dock_item ${pkgs.kitty}/Applications/kitty.app)" \
"$(__dock_item /System/Applications/System\ Preferences.app)"
echo "Allow apps from anywhere"
SPCTL=$(spctl --status)
if ! [ "$SPCTL" = "assessments disabled" ]; then
sudo spctl --master-disable
fi
'';
};
}

View File

@ -4,6 +4,12 @@
# macOS user
home = config.homePath;
shell = pkgs.fish; # Default shell
};
# Used for aerc
home-manager.users.${config.user} = {
home.sessionVariables = { XDG_CONFIG_HOME = "${config.homePath}/.config"; };
};
}

View File

@ -50,7 +50,7 @@ M.packer = function(use)
vim.keymap.set("n", "<Leader>t", TERM_TOGGLE)
vim.keymap.set("n", "<Leader>P", NIXPKGS_TOGGLE)
vim.keymap.set("n", "<Leader>gw", GITWATCH_TOGGLE)
vim.keymap.set("n", "<C-k>", K9S_TOGGLE)
vim.keymap.set("n", "<Leader>9", K9S_TOGGLE)
end,
})

View File

@ -75,6 +75,11 @@ vim.api.nvim_exec(
false
)
vim.filetype.add({
pattern = {
[".*%.tfvars"] = "terraform",
},
})
vim.api.nvim_create_autocmd("FileType", {
pattern = "*.eml",
callback = function()