20 lines
468 B
Nix
20 lines
468 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
programs.fish = {
|
|
enable = true;
|
|
shellAliases = {
|
|
nxr = "cd ~/nix-config && sudo nix flake update && sudo nixos-rebuild switch --upgrade --flake .#";
|
|
nxe = "nano /home/rainy/nix-config/configuration.nix";
|
|
nxh = "nano /home/rainy/nix-config/home.nix";
|
|
nxt = "cd ~/nix-config && sudo nixos-rebuild test --flake .#";
|
|
};
|
|
interactiveShellInit = ''
|
|
set fish_greeting
|
|
|
|
fastfetch
|
|
'';
|
|
};
|
|
}
|
|
|