update(fish): update fish to use flakeRoot path
This commit is contained in:
parent
a044d5707a
commit
40a9483bd0
1 changed files with 5 additions and 4 deletions
|
@ -9,6 +9,7 @@ let
|
||||||
inherit (lib) mkEnableOption mkIf;
|
inherit (lib) mkEnableOption mkIf;
|
||||||
|
|
||||||
cfg = config.${namespace}.cli-apps.fish;
|
cfg = config.${namespace}.cli-apps.fish;
|
||||||
|
flakeRoot = "/home/philipp/Documents/nix-config";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.${namespace}.cli-apps.fish = {
|
options.${namespace}.cli-apps.fish = {
|
||||||
|
@ -19,11 +20,11 @@ in
|
||||||
programs.fish = {
|
programs.fish = {
|
||||||
enable = true;
|
enable = true;
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
nix-dns = "nixos-rebuild switch --flake .#dns --target-host dns-1 --use-remote-sudo && nixos-rebuild switch --flake .#dns --target-host dns-2 --use-remote-sudo";
|
nix-dns = "nixos-rebuild switch --flake ${flakeRoot}/.#dns --target-host dns-1 --use-remote-sudo && nixos-rebuild switch --flake ${flakeRoot}/.#dns --target-host dns-2 --use-remote-sudo";
|
||||||
nix-blarm = "nixos-rebuild switch --flake .#blarm --target-host blarm --use-remote-sudo";
|
nix-blarm = "nixos-rebuild switch --flake ${flakeRoot}/.#blarm --target-host blarm --use-remote-sudo";
|
||||||
cd = "z";
|
cd = "z";
|
||||||
ls = "exa";
|
ls = "exa --icons";
|
||||||
l = "exa --icons";
|
l = "exa";
|
||||||
};
|
};
|
||||||
plugins = [
|
plugins = [
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue