neovim: only install manix on supported arches

This commit is contained in:
Aaron Bieber 2023-01-13 09:37:32 -07:00
parent 431d5af9f4
commit 0fc92db4b6
No known key found for this signature in database
4 changed files with 5 additions and 8 deletions

View File

@ -7,9 +7,8 @@ let
(import ./check-restart.nix { inherit (pkgs) perl; });
xinStatus = pkgs.writeScriptBin "xin-status"
(import ./xin-status.nix { inherit (pkgs) perl perlPackages; });
tstart = pkgs.writeScriptBin "tstart" (import ./tstart.nix {
inherit (pkgs) tmux;
});
tstart =
pkgs.writeScriptBin "tstart" (import ./tstart.nix { inherit (pkgs) tmux; });
sfetch = pkgs.writeScriptBin "sfetch" (import ./sfetch.nix {
inherit gosignify;
inherit (pkgs) curl;

View File

@ -1,6 +1,5 @@
{ tmux }:
let
tmuxBin = "${tmux}/bin/tmux";
let tmuxBin = "${tmux}/bin/tmux";
in ''
#!/usr/bin/env sh

View File

@ -29,7 +29,6 @@ let
nvim-tree-lua
rust-vim
telescope-fzf-native-nvim
telescope-manix
telescope-nvim
vimagit
vim-gitgutter
@ -43,7 +42,7 @@ let
myVimPackages = if pkgs.system == "aarch64-linux" then
baseVimPackages
else
baseVimPackages ++ [ vimPlugins.vim-go ];
baseVimPackages ++ [ vimPlugins.vim-go vimPlugins.telescope-manix ];
in {
environment.systemPackages = with pkgs; [
go

View File

@ -28,7 +28,7 @@ let
name = "taskobs";
script = "taskobs";
startAt = "*:0/30";
path = [ pkgs.perl pkgs.taskobs ];
path = [ pkgs.taskobs ] ++ pkgs.taskobs.buildInputs;
}
];
jobToService = job: {