Skip to content

Commit

Permalink
feat: add home-switch and nixos-switch to shell
Browse files Browse the repository at this point in the history
  • Loading branch information
solidsnakedev committed Nov 28, 2023
1 parent dab57fc commit f3ba242
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions modules/fish.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,10 @@
interactiveShellInit = ''
neofetch
'';
shellAliases = {
l = "ls -la";
nixos-switch = "sudo nixos-rebuild switch --flake ~/nixos-config";
home-switch = "home-manager switch --flake ~/nixos-config";
};
};
}

0 comments on commit f3ba242

Please sign in to comment.