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 51812c5f65
3 changed files with 1 additions and 87 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

@@ -3,7 +3,7 @@
feh feh
vlc vlc
dconf dconf
firefox brave
vesktop vesktop
zoom-us zoom-us
twinkle twinkle
@@ -13,7 +13,6 @@
pavucontrol pavucontrol
easyeffects easyeffects
virt-viewer virt-viewer
google-chrome
nextcloud-client nextcloud-client
protonmail-desktop protonmail-desktop
kdePackages.okular kdePackages.okular

View File

@@ -53,7 +53,6 @@
mindforge = "ssh mindforge@mindforge.randomctf.local"; mindforge = "ssh mindforge@mindforge.randomctf.local";
# Nix Specific aliases # Nix Specific aliases
update-darwin = "darwin-rebuild switch --flake ~/dotfiles";
update-config = "sudo nixos-rebuild switch --flake ~/dotfiles"; update-config = "sudo nixos-rebuild switch --flake ~/dotfiles";
update-home = "home-manager switch --flake ~/dotfiles"; update-home = "home-manager switch --flake ~/dotfiles";
update-all = "update-config && update-home"; update-all = "update-config && update-home";
@@ -68,10 +67,6 @@
function ...... { cd ../../../../../.. } function ...... { cd ../../../../../.. }
function ....... { cd ../../../../../../.. } function ....... { cd ../../../../../../.. }
if [[ "$(uname)" == "Darwin" ]]; then
source <(/opt/homebrew/bin/brew shellenv)
fi
if [[ -n "$SSH_CONNECTION" && "$TERM" == "ghostty" ]]; then if [[ -n "$SSH_CONNECTION" && "$TERM" == "ghostty" ]]; then
export TERM="xterm-256color" export TERM="xterm-256color"
fi fi