Removed some other darwin related config; switched to brave browser
This commit is contained in:
@@ -1,80 +0,0 @@
|
||||
{ config, pkgs, lib, ... }: {
|
||||
nix.settings.experimental-features = ["nix-command" "flakes"];
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
environment.systemPackages = with pkgs; [
|
||||
git
|
||||
];
|
||||
|
||||
homebrew = {
|
||||
enable = true;
|
||||
onActivation.cleanup = "zap";
|
||||
taps = [
|
||||
"nikitabobko/tap"
|
||||
"FelixKratz/formulae"
|
||||
];
|
||||
brews = [
|
||||
"wireguard-tools"
|
||||
"pinentry-mac"
|
||||
"sketchybar"
|
||||
"coreutils"
|
||||
"watch"
|
||||
"rbw"
|
||||
];
|
||||
casks = [
|
||||
"font-hack-nerd-font"
|
||||
"scroll-reverser"
|
||||
"instantview"
|
||||
"proton-mail"
|
||||
"flameshot"
|
||||
"aerospace"
|
||||
"bitwarden"
|
||||
"tailscale"
|
||||
"wireshark"
|
||||
"firefox"
|
||||
"ghostty"
|
||||
"discord"
|
||||
"barrier"
|
||||
"zoom"
|
||||
"plex"
|
||||
"vlc"
|
||||
];
|
||||
};
|
||||
|
||||
# Auto upgrade nix package and the daemon service.
|
||||
nix.package = pkgs.nix;
|
||||
|
||||
# Extra activation scripts
|
||||
system.activationScripts.extraActivation.text = ''
|
||||
softwareupdate --install-rosetta --agree-to-license
|
||||
'';
|
||||
|
||||
# Keyboard and Mouse
|
||||
system.keyboard = {
|
||||
enableKeyMapping = true;
|
||||
remapCapsLockToEscape = true;
|
||||
swapLeftCommandAndLeftAlt = true;
|
||||
};
|
||||
|
||||
# MacOS Changes
|
||||
system = {
|
||||
startup.chime = false;
|
||||
defaults = {
|
||||
dock.autohide = true;
|
||||
NSGlobalDomain = {
|
||||
"com.apple.mouse.tapBehavior" = 1;
|
||||
_HIHideMenuBar = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
# Create /etc/zshrc that loads the nix-darwin environment.
|
||||
programs.zsh.enable = true;
|
||||
|
||||
users.users.jadenmaxwell = {
|
||||
name = "jadenmaxwell";
|
||||
home = "/Users/jadenmaxwell";
|
||||
};
|
||||
|
||||
system.stateVersion = 5;
|
||||
}
|
||||
@@ -3,7 +3,7 @@
|
||||
feh
|
||||
vlc
|
||||
dconf
|
||||
firefox
|
||||
brave
|
||||
vesktop
|
||||
zoom-us
|
||||
twinkle
|
||||
@@ -13,7 +13,6 @@
|
||||
pavucontrol
|
||||
easyeffects
|
||||
virt-viewer
|
||||
google-chrome
|
||||
nextcloud-client
|
||||
protonmail-desktop
|
||||
kdePackages.okular
|
||||
|
||||
@@ -53,7 +53,6 @@
|
||||
mindforge = "ssh mindforge@mindforge.randomctf.local";
|
||||
|
||||
# Nix Specific aliases
|
||||
update-darwin = "darwin-rebuild switch --flake ~/dotfiles";
|
||||
update-config = "sudo nixos-rebuild switch --flake ~/dotfiles";
|
||||
update-home = "home-manager switch --flake ~/dotfiles";
|
||||
update-all = "update-config && update-home";
|
||||
@@ -68,10 +67,6 @@
|
||||
function ...... { cd ../../../../../.. }
|
||||
function ....... { cd ../../../../../../.. }
|
||||
|
||||
if [[ "$(uname)" == "Darwin" ]]; then
|
||||
source <(/opt/homebrew/bin/brew shellenv)
|
||||
fi
|
||||
|
||||
if [[ -n "$SSH_CONNECTION" && "$TERM" == "ghostty" ]]; then
|
||||
export TERM="xterm-256color"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user