From dee52a55839297ae4154392a6a2cff3799d2cc37 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Tue, 9 May 2023 13:47:45 +0100 Subject: [PATCH] Add extra nix shell abbreviations --- H0615.nix | 3 +++ Vanguard.nix | 1 + 2 files changed, 4 insertions(+) diff --git a/H0615.nix b/H0615.nix index 8db3859d..54bffa5f 100644 --- a/H0615.nix +++ b/H0615.nix @@ -24,6 +24,9 @@ home.username = "elitherl"; home.homeDirectory = "/home/elitherl"; home.stateVersion = "22.11"; + + programs.fish.shellAbbrs.nixedit = "$EDITOR $HOME/.nixos/$(hostname).nix"; + programs.fish.shellAbbrs.update = "sudo nixos-rebuild switch"; }; system.autoUpgrade = { diff --git a/Vanguard.nix b/Vanguard.nix index bf18ab07..64d48e05 100644 --- a/Vanguard.nix +++ b/Vanguard.nix @@ -41,6 +41,7 @@ home.stateVersion = "22.11"; home.packages = with pkgs; [ prismlauncher ]; + programs.fish.shellAbbrs.nixedit = "$EDITOR $HOME/.nixos/$(hostname).nix"; programs.fish.shellAbbrs.update = "sudo nixos-rebuild switch"; };