From 3e19ee59c988bcdef8630a8f5ac36d0c0ef11d43 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Wed, 17 Jun 2020 12:31:16 +0800 Subject: [PATCH] nixops: enable fish-nix-shell on rpi --- nixops/rpi.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nixops/rpi.nix b/nixops/rpi.nix index bd2d904..3d8285a 100644 --- a/nixops/rpi.nix +++ b/nixops/rpi.nix @@ -53,8 +53,12 @@ in documentation.enable = false; environment.systemPackages = with pkgs; [ psmisc wget vim git usbutils lm_sensors file telnet mosh tmux xc3sprog m-labs.openocd screen gdb minicom picocom + (import ./fish-nix-shell) ]; programs.fish.enable = true; + programs.fish.promptInit = '' + fish-nix-shell --info-right | source + ''; programs.wireshark.enable = true; nix.binaryCachePublicKeys = ["nixbld.m-labs.hk-1:5aSRVA5b320xbNvu30tqxVPXpld73bhtOeH6uAjRyHc="];