mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-03-23 09:51:34 +01:00
feat: add apps(using homebrew), update shells
This commit is contained in:
@@ -6,7 +6,6 @@
|
||||
|
||||
./alacritty
|
||||
./core.nix
|
||||
./nushell.nix
|
||||
];
|
||||
|
||||
# Home Manager needs a bit of information about you and the
|
||||
|
||||
@@ -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)
|
||||
'';
|
||||
}
|
||||
@@ -48,6 +48,7 @@
|
||||
brews = [
|
||||
# `brew install`
|
||||
"httpie"
|
||||
"wireguard-tools"
|
||||
];
|
||||
|
||||
# `brew install --cask`
|
||||
@@ -59,6 +60,13 @@
|
||||
|
||||
"telegram"
|
||||
"discord"
|
||||
"wechat"
|
||||
"qq"
|
||||
"neteasemusic"
|
||||
"qqmusic"
|
||||
"microsoft-remote-desktop"
|
||||
"wechatwork"
|
||||
"tencent-meeting"
|
||||
|
||||
# "anki"
|
||||
"clashx"
|
||||
@@ -67,8 +75,9 @@
|
||||
"syncthing"
|
||||
"raycast"
|
||||
"iglance"
|
||||
"eudic"
|
||||
# "reaper"
|
||||
|
||||
"iterm2"
|
||||
"insomnia"
|
||||
"wireshark"
|
||||
"jdk-mission-control"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
|
||||
{ pkgs, ... }:
|
||||
{ pkgs, lib, ... }:
|
||||
{
|
||||
###################################################################################
|
||||
#
|
||||
@@ -72,10 +72,10 @@
|
||||
home = "/Users/admin";
|
||||
description = "admin";
|
||||
|
||||
# set user's default shell to nushell
|
||||
# this may not work, to change the default shell manually, use
|
||||
# `chsh -s /run/current-system/sw/bin/nu`
|
||||
shell = pkgs.nushell;
|
||||
# set user's default shell back to zsh
|
||||
# `chsh -s /bin/zsh`
|
||||
# DO NOT change the system's default shell to nushell! it will break some apps!
|
||||
# It's better to change only starship/alacritty/vscode's shell to nushell!
|
||||
};
|
||||
|
||||
# Create /etc/zshrc that loads the nix-darwin environment.
|
||||
|
||||
Reference in New Issue
Block a user