diff --git a/modules/fish/home.nix b/modules/fish/home.nix index dd488cd..021ce02 100644 --- a/modules/fish/home.nix +++ b/modules/fish/home.nix @@ -2,7 +2,10 @@ config, lib, pkgs, + hostname, + nix-meow, fetchFromGitHub, + system, ... }: let @@ -14,16 +17,19 @@ in }; config = lib.mkIf cfg.enable { home.shell.enableFishIntegration = true; + home.packages = [ pkgs.nix-output-monitor ]; programs = { fish = { enable = true; shellInit = '' - set -g theme_nerd_fonts yes - set -g theme_color_scheme nord - set -g theme_display_user yes + set -g theme_nerd_fonts yes + set -g theme_color_scheme nord + set -g theme_display_user yes set -g fish_color_autosuggestion 6F6578 - alias nik 'nix' - ''; + alias nik 'nix' + alias nos 'sudo echo; sudo nixos-rebuild switch --flake .#${hostname}-${system} --log-format internal-json -v &| nom --json' + alias hms 'home-manager switch --flake .#${hostname}-${system} --log-format internal-json -v &| nom --json' + ''; plugins = [ { name = "bobthefish";