Compare commits
3
Commits
534d3b9353
...
d45e239926
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d45e239926 | ||
|
|
17070a9a51 | ||
|
|
483712a34c |
@@ -24,10 +24,7 @@
|
|||||||
url = "github:zhaofengli-wip/nix-homebrew";
|
url = "github:zhaofengli-wip/nix-homebrew";
|
||||||
inputs.brew-src.follows = "brew-src";
|
inputs.brew-src.follows = "brew-src";
|
||||||
};
|
};
|
||||||
homebrew-bundle = {
|
|
||||||
url = "github:homebrew/homebrew-bundle";
|
|
||||||
flake = false;
|
|
||||||
};
|
|
||||||
homebrew-core = {
|
homebrew-core = {
|
||||||
url = "github:homebrew/homebrew-core";
|
url = "github:homebrew/homebrew-core";
|
||||||
flake = false;
|
flake = false;
|
||||||
@@ -60,7 +57,6 @@
|
|||||||
self,
|
self,
|
||||||
darwin,
|
darwin,
|
||||||
nix-homebrew,
|
nix-homebrew,
|
||||||
homebrew-bundle,
|
|
||||||
homebrew-core,
|
homebrew-core,
|
||||||
homebrew-cask,
|
homebrew-cask,
|
||||||
home-manager,
|
home-manager,
|
||||||
@@ -139,7 +135,6 @@
|
|||||||
taps = {
|
taps = {
|
||||||
"homebrew/homebrew-core" = homebrew-core;
|
"homebrew/homebrew-core" = homebrew-core;
|
||||||
"homebrew/homebrew-cask" = homebrew-cask;
|
"homebrew/homebrew-cask" = homebrew-cask;
|
||||||
"homebrew/homebrew-bundle" = homebrew-bundle;
|
|
||||||
};
|
};
|
||||||
mutableTaps = false;
|
mutableTaps = false;
|
||||||
autoMigrate = true;
|
autoMigrate = true;
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ _:
|
|||||||
[
|
[
|
||||||
# Development Tools
|
# Development Tools
|
||||||
"arduino-ide"
|
"arduino-ide"
|
||||||
"homebrew/cask/docker-desktop"
|
"docker-desktop"
|
||||||
"iterm2"
|
"iterm2"
|
||||||
"oracle-jdk"
|
"oracle-jdk"
|
||||||
"visual-studio-code"
|
"visual-studio-code"
|
||||||
@@ -57,14 +57,13 @@ _:
|
|||||||
"element"
|
"element"
|
||||||
"gpg-suite"
|
"gpg-suite"
|
||||||
"macdown-3000"
|
"macdown-3000"
|
||||||
"mailmate"
|
"mailmate@beta"
|
||||||
"orcaslicer"
|
"orcaslicer"
|
||||||
"remanager"
|
"remanager"
|
||||||
"qmk-toolbox"
|
"qmk-toolbox"
|
||||||
"smartsheet"
|
"smartsheet"
|
||||||
"spamsieve"
|
|
||||||
# "sqlitestudio" # Doesn't work without Rosetta
|
# "sqlitestudio" # Doesn't work without Rosetta
|
||||||
"tigervnc"
|
|
||||||
# "virtualbox" # build error?
|
# "virtualbox" # build error?
|
||||||
"copilot-cli"
|
"copilot-cli"
|
||||||
|
|
||||||
|
|||||||
@@ -32,12 +32,15 @@ in
|
|||||||
|
|
||||||
homebrew = {
|
homebrew = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
global = {
|
||||||
|
brewfile = true;
|
||||||
|
};
|
||||||
casks = pkgs.callPackage ./casks.nix { };
|
casks = pkgs.callPackage ./casks.nix { };
|
||||||
onActivation = {
|
onActivation = {
|
||||||
cleanup = "uninstall";
|
cleanup = "none";
|
||||||
autoUpdate = true;
|
autoUpdate = true;
|
||||||
upgrade = true;
|
upgrade = true;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
# These app IDs are from using the mas CLI app
|
# These app IDs are from using the mas CLI app
|
||||||
@@ -56,7 +59,6 @@ in
|
|||||||
"Affinity Designer 2" = 1616831348;
|
"Affinity Designer 2" = 1616831348;
|
||||||
"Affinity Photo 2: Image Editor" = 1616822987;
|
"Affinity Photo 2: Image Editor" = 1616822987;
|
||||||
"Affinity Publisher 2" = 1606941598;
|
"Affinity Publisher 2" = 1606941598;
|
||||||
"Apple Remote Desktop" = 409907375; # (3.11)
|
|
||||||
# "DaisyDisk" = 409907375; # (4.32) # Don't use this, we need the official version that is not sandboxed
|
# "DaisyDisk" = 409907375; # (4.32) # Don't use this, we need the official version that is not sandboxed
|
||||||
"Fantastical - Calendar" = 975937182;
|
"Fantastical - Calendar" = 975937182;
|
||||||
" Fedistar" = 6445863996; # (1.13.1)
|
" Fedistar" = 6445863996; # (1.13.1)
|
||||||
@@ -68,9 +70,9 @@ in
|
|||||||
"Night Sky" = 475772902; # 475772902
|
"Night Sky" = 475772902; # 475772902
|
||||||
"Native SQLite Manager" = 1416282836; # (1.31.0)
|
"Native SQLite Manager" = 1416282836; # (1.31.0)
|
||||||
"Remarkable Desktop" = 1276493162; # (3.19.0)
|
"Remarkable Desktop" = 1276493162; # (3.19.0)
|
||||||
|
|
||||||
"Slack for Desktop" = 803453959; # (4.45.60)
|
"Slack for Desktop" = 803453959; # (4.45.60)
|
||||||
"WiFi Explorer: Scanner" = 494803304; # (3.5.6)
|
"WiFi Explorer: Scanner" = 494803304; # (3.5.6)
|
||||||
|
"Windows App Installer" = 1295203466; # (1.0.16)
|
||||||
"Wireguard" = 1451685025; # (1.0.16)
|
"Wireguard" = 1451685025; # (1.0.16)
|
||||||
### "1Password: Password Manager" = 1511601750; # (8.11.0) Does not seem to insta
|
### "1Password: Password Manager" = 1511601750; # (8.11.0) Does not seem to insta
|
||||||
};
|
};
|
||||||
@@ -115,6 +117,13 @@ in
|
|||||||
. /nix/var/nix/profiles/default/etc/profile.d/nix.sh
|
. /nix/var/nix/profiles/default/etc/profile.d/nix.sh
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ "$TERM" == "alacritty" ]]; then
|
||||||
|
export TERMINFO_DIRS="$HOME/.nix-profile/share/terminfo:/run/current-system/sw/share/terminfo:/nix/var/nix/profiles/default/share/terminfo:/usr/share/terminfo"
|
||||||
|
if ! infocmp alacritty >/dev/null 2>&1; then
|
||||||
|
export TERM="xterm-256color"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
# GPGAgent for SSH
|
# GPGAgent for SSH
|
||||||
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
|
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
|
||||||
|
|
||||||
|
|||||||
@@ -30,6 +30,7 @@ with pkgs;
|
|||||||
btop
|
btop
|
||||||
coreutils
|
coreutils
|
||||||
difftastic
|
difftastic
|
||||||
|
freerdp
|
||||||
htop
|
htop
|
||||||
killall
|
killall
|
||||||
minicom
|
minicom
|
||||||
@@ -80,15 +81,12 @@ with pkgs;
|
|||||||
imagemagick
|
imagemagick
|
||||||
|
|
||||||
# Text and terminal utilities
|
# Text and terminal utilities
|
||||||
htop
|
|
||||||
hunspell
|
hunspell
|
||||||
iftop
|
iftop
|
||||||
inetutils # includes Telnet
|
inetutils # includes Telnet
|
||||||
jq
|
|
||||||
ripgrep
|
ripgrep
|
||||||
tmux
|
tmux
|
||||||
tree
|
tree
|
||||||
unrar
|
|
||||||
unzip
|
unzip
|
||||||
|
|
||||||
# Python packages
|
# Python packages
|
||||||
@@ -115,11 +113,9 @@ with pkgs;
|
|||||||
numpy
|
numpy
|
||||||
pandas
|
pandas
|
||||||
pillow
|
pillow
|
||||||
pillow
|
|
||||||
python-engineio
|
python-engineio
|
||||||
python-socketio
|
python-socketio
|
||||||
requests
|
requests
|
||||||
requests
|
|
||||||
shapely
|
shapely
|
||||||
simple-websocket
|
simple-websocket
|
||||||
tkinter
|
tkinter
|
||||||
|
|||||||
Reference in New Issue
Block a user