nixops: enable fish-nix-shell on rpi

This commit is contained in:
Sebastien Bourdeauducq 2020-06-17 12:31:16 +08:00
parent 7ac26d6348
commit 3e19ee59c9
1 changed files with 4 additions and 0 deletions

View File

@ -53,8 +53,12 @@ in
documentation.enable = false; documentation.enable = false;
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
psmisc wget vim git usbutils lm_sensors file telnet mosh tmux xc3sprog m-labs.openocd screen gdb minicom picocom 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.enable = true;
programs.fish.promptInit = ''
fish-nix-shell --info-right | source
'';
programs.wireshark.enable = true; programs.wireshark.enable = true;
nix.binaryCachePublicKeys = ["nixbld.m-labs.hk-1:5aSRVA5b320xbNvu30tqxVPXpld73bhtOeH6uAjRyHc="]; nix.binaryCachePublicKeys = ["nixbld.m-labs.hk-1:5aSRVA5b320xbNvu30tqxVPXpld73bhtOeH6uAjRyHc="];