latest nix changes
This commit is contained in:
parent
95a050e1d0
commit
92ead596fd
1 changed files with 7 additions and 1 deletions
8
home.nix
8
home.nix
|
@ -9,7 +9,7 @@
|
||||||
home = {
|
home = {
|
||||||
username = "salar";
|
username = "salar";
|
||||||
homeDirectory = "/Users/salar";
|
homeDirectory = "/Users/salar";
|
||||||
stateVersion = "21.05";
|
stateVersion = "21.11";
|
||||||
sessionVariables = {
|
sessionVariables = {
|
||||||
EDITOR = "nvim";
|
EDITOR = "nvim";
|
||||||
VISUAL = "$EDITOR";
|
VISUAL = "$EDITOR";
|
||||||
|
@ -48,6 +48,7 @@
|
||||||
programs.starship = {
|
programs.starship = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
|
command_timeout = 1000;
|
||||||
character = {
|
character = {
|
||||||
success_symbol = " [λ](bold green)";
|
success_symbol = " [λ](bold green)";
|
||||||
error_symbol = " [λ](bold red)";
|
error_symbol = " [λ](bold red)";
|
||||||
|
@ -111,6 +112,8 @@
|
||||||
set -xg FZF_DEFAULT_OPTS "--preview='bat {} --color=always'" \n
|
set -xg FZF_DEFAULT_OPTS "--preview='bat {} --color=always'" \n
|
||||||
|
|
||||||
set -xg TOOLCHAINS swift
|
set -xg TOOLCHAINS swift
|
||||||
|
|
||||||
|
set -xg XDG_CONFIG_HOME $HOME/.config
|
||||||
'';
|
'';
|
||||||
|
|
||||||
promptInit = ''
|
promptInit = ''
|
||||||
|
@ -121,6 +124,7 @@
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
cat="bat";
|
cat="bat";
|
||||||
du="ncdu --color dark -rr -x";
|
du="ncdu --color dark -rr -x";
|
||||||
|
fzfp="fzf --preview 'bat --style=numbers --color=always --line-range :500 {}'";
|
||||||
ping="prettyping";
|
ping="prettyping";
|
||||||
".." = "cd ..";
|
".." = "cd ..";
|
||||||
pj="python -m json.tool";
|
pj="python -m json.tool";
|
||||||
|
@ -136,6 +140,7 @@
|
||||||
new-sbt="sbt new scala/scala-seed.g8";
|
new-sbt="sbt new scala/scala-seed.g8";
|
||||||
nixre="home-manager switch";
|
nixre="home-manager switch";
|
||||||
nixedit="home-manager edit";
|
nixedit="home-manager edit";
|
||||||
|
nixinfo="nix-shell -p nix-info --run \"nix-info -m\"";
|
||||||
nixgc="nix-collect-garbage -d";
|
nixgc="nix-collect-garbage -d";
|
||||||
nixq="nix-env -qa";
|
nixq="nix-env -qa";
|
||||||
nixupdate="nix-channel --update";
|
nixupdate="nix-channel --update";
|
||||||
|
@ -143,6 +148,7 @@
|
||||||
nixup="nix-env -u";
|
nixup="nix-env -u";
|
||||||
nixversion="nix eval nixpkgs.lib.version";
|
nixversion="nix eval nixpkgs.lib.version";
|
||||||
nixdaemon="sudo launchctl load /Library/LaunchDaemons/org.nixos.nix-daemon.plist && launchctl start org.nixos.nix-daemon";
|
nixdaemon="sudo launchctl load /Library/LaunchDaemons/org.nixos.nix-daemon.plist && launchctl start org.nixos.nix-daemon";
|
||||||
|
rmxcodederived="rm -fr ~/Library/Developer/Xcode/DerivedData";
|
||||||
v="nvim";
|
v="nvim";
|
||||||
tabninecfg="vc /Users/salar/Library/Preferences/TabNine/TabNine.toml";
|
tabninecfg="vc /Users/salar/Library/Preferences/TabNine/TabNine.toml";
|
||||||
sshfre1="ssh salar@fre1.softinio.net";
|
sshfre1="ssh salar@fre1.softinio.net";
|
||||||
|
|
Loading…
Reference in a new issue