Removed some other darwin related config; switched to brave browser

This commit is contained in:
Random936
2025-11-26 20:03:02 -05:00
parent 94595a0833
commit b4dd9407d4
4 changed files with 7 additions and 93 deletions

View File

@@ -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;
}

View File

@@ -18,7 +18,7 @@ bindsym $mod+Return exec "alacritty"
bindsym $mod+Shift+b exec "blueman-manager"
bindsym $mod+Shift+d exec "vesktop"
bindsym $mod+Shift+e exec "emacsclient -c"
bindsym $mod+Shift+f exec "firefox"
bindsym $mod+Shift+f exec "brave"
bindsym $mod+Shift+m exec "proton-mail"
bindsym $mod+Shift+p exec "rofi-rbw"
bindsym $mod+Shift+s exec "flameshot gui"

View File

@@ -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
@@ -46,11 +45,11 @@
xdg.mimeApps = {
enable = true;
defaultApplications = {
"text/html" = "firefox.desktop";
"x-scheme-handler/http" = "firefox.desktop";
"x-scheme-handler/https" = "firefox.desktop";
"x-scheme-handler/about" = "firefox.desktop";
"x-scheme-handler/unknown" = "firefox.desktop";
"text/html" = "brave.desktop";
"x-scheme-handler/http" = "brave-browser.desktop";
"x-scheme-handler/https" = "brave-browser.desktop";
"x-scheme-handler/about" = "brave-browser.desktop";
"x-scheme-handler/unknown" = "brave-browser.desktop";
"application/pdf" = "okularApplication_pdf.desktop";
"text/plain" = "emacsclient.desktop";
};

View File

@@ -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