feat: add apps(using homebrew), update shells

This commit is contained in:
Ryan Yin
2023-07-05 16:53:50 +08:00
parent 4af3fa88dd
commit acd7f8308c
4 changed files with 15 additions and 22 deletions
-1
View File
@@ -6,7 +6,6 @@
./alacritty ./alacritty
./core.nix ./core.nix
./nushell.nix
]; ];
# Home Manager needs a bit of information about you and the # Home Manager needs a bit of information about you and the
-15
View File
@@ -1,15 +0,0 @@
{ ... }: {
# nushell's PATH do not include nix-darwin's PATH
# this is a workaround to add nix-darwin's PATH to nushell's PATH
programs.nushell.extraConfig = ''
let-env PATH = ([
"~/.nix-profile/bin"
"/etc/profiles/per-user/admin/bin"
"/run/current-system/sw/bin"
"/nix/var/nix/profiles/default/bin"
($env.PATH | split row (char esep))
] | flatten)
'';
}
+10 -1
View File
@@ -48,6 +48,7 @@
brews = [ brews = [
# `brew install` # `brew install`
"httpie" "httpie"
"wireguard-tools"
]; ];
# `brew install --cask` # `brew install --cask`
@@ -59,6 +60,13 @@
"telegram" "telegram"
"discord" "discord"
"wechat"
"qq"
"neteasemusic"
"qqmusic"
"microsoft-remote-desktop"
"wechatwork"
"tencent-meeting"
# "anki" # "anki"
"clashx" "clashx"
@@ -67,8 +75,9 @@
"syncthing" "syncthing"
"raycast" "raycast"
"iglance" "iglance"
"eudic"
# "reaper"
"iterm2"
"insomnia" "insomnia"
"wireshark" "wireshark"
"jdk-mission-control" "jdk-mission-control"
+5 -5
View File
@@ -1,5 +1,5 @@
{ pkgs, ... }: { pkgs, lib, ... }:
{ {
################################################################################### ###################################################################################
# #
@@ -72,10 +72,10 @@
home = "/Users/admin"; home = "/Users/admin";
description = "admin"; description = "admin";
# set user's default shell to nushell # set user's default shell back to zsh
# this may not work, to change the default shell manually, use # `chsh -s /bin/zsh`
# `chsh -s /run/current-system/sw/bin/nu` # DO NOT change the system's default shell to nushell! it will break some apps!
shell = pkgs.nushell; # It's better to change only starship/alacritty/vscode's shell to nushell!
}; };
# Create /etc/zshrc that loads the nix-darwin environment. # Create /etc/zshrc that loads the nix-darwin environment.