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

@ -33,6 +33,7 @@
mpv mpv
nil nil
nix-init nix-init
nix-your-shell
obs-studio obs-studio
obs-studio-plugins.obs-vkcapture obs-studio-plugins.obs-vkcapture
p7zip p7zip

View file

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

View file

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