From 51812c5f65d6f4c8bba282a0acdbf01e8270e4bf Mon Sep 17 00:00:00 2001 From: Random936 Date: Wed, 26 Nov 2025 20:03:02 -0500 Subject: [PATCH] Removed some other darwin related config; switched to brave browser --- config/darwin.nix | 80 --------------------------------------- home/modules/gui-apps.nix | 3 +- home/modules/zsh.nix | 5 --- 3 files changed, 1 insertion(+), 87 deletions(-) delete mode 100644 config/darwin.nix diff --git a/config/darwin.nix b/config/darwin.nix deleted file mode 100644 index 91737da..0000000 --- a/config/darwin.nix +++ /dev/null @@ -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; -} diff --git a/home/modules/gui-apps.nix b/home/modules/gui-apps.nix index c5a6d28..76024e0 100644 --- a/home/modules/gui-apps.nix +++ b/home/modules/gui-apps.nix @@ -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 diff --git a/home/modules/zsh.nix b/home/modules/zsh.nix index 8f7de47..80e4c53 100644 --- a/home/modules/zsh.nix +++ b/home/modules/zsh.nix @@ -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