nix-your-shell in unstable only

This commit is contained in:
rotterdam 2023-03-12 19:30:56 -03:00
parent d82558072b
commit 90ad7c2823
3 changed files with 5 additions and 2 deletions

View file

@ -39,8 +39,8 @@
};
fish = {
enable = true;
interactiveShellInit = "nix-your-shell fish | source";
loginShellInit = "nix-your-shell fish | source";
# interactiveShellInit = "nix-your-shell fish | source"; # nix-your-shell only in unstable
# loginShellInit = "nix-your-shell fish | source";
shellAliases = {
nano = "micro";
wget = "wget --hsts-file=\"$XDG_DATA_HOME/wget-hsts\"";

View file

@ -27,6 +27,8 @@
userEmail = "baduhai@proton.me";
};
fish = {
interactiveShellInit = "nix-your-shell fish | source";
loginShellInit = "nix-your-shell fish | source";
functions = {
rebuild = "rm ~/.gtkrc-2.0; sudo nixos-rebuild switch --flake '/home/user/Projects/personal/nix-config#'";
rebuild-boot = "rm ~/.gtkrc-2.0; sudo nixos-rebuild boot --flake '/home/user/Projects/personal/nix-config#'";