added zsh-autosuggestions

nixos
Moritz Böhme 2021-09-11 13:34:35 +02:00
parent 9f096f5a3d
commit dcdbf88242
3 changed files with 24 additions and 8 deletions

View File

@ -106,7 +106,8 @@
"nur": "nur",
"picom": "picom",
"unstable": "unstable",
"utils": "utils"
"utils": "utils",
"zsh-autosuggestions": "zsh-autosuggestions"
}
},
"unstable": {
@ -143,6 +144,22 @@
"repo": "flake-utils-plus",
"type": "github"
}
},
"zsh-autosuggestions": {
"flake": false,
"locked": {
"lastModified": 1622844304,
"narHash": "sha256-KLUYpUu4DHRumQZ3w59m9aTW6TBKMCXl2UcKi4uMd7w=",
"owner": "zsh-users",
"repo": "zsh-autosuggestions",
"rev": "a411ef3e0992d4839f0732ebeb9823024afaaaa8",
"type": "github"
},
"original": {
"owner": "zsh-users",
"repo": "zsh-autosuggestions",
"type": "github"
}
}
},
"root": "root",

View File

@ -17,6 +17,10 @@
url = "github:jonaburg/picom";
flake = false;
};
zsh-autosuggestions = {
url = "github:zsh-users/zsh-autosuggestions";
flake = false;
};
};
outputs = inputs@{ self, utils, home-manager, nixpkgs, ...}:

View File

@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }:
{ config, lib, pkgs, inputs, ... }:
let
base = (home: {
@ -16,12 +16,7 @@ let
plugins = [
{
name = "zsh-autosuggestions";
src = pkgs.fetchFromGitHub {
owner = "zsh-users";
repo = "zsh-autosuggestions";
rev = "v0.4.0";
sha256 = "0z6i9wjjklb4lvr7zjhbphibsyx51psv50gm07mbb0kj9058j6kc";
};
src = inputs.zsh-autosuggestions;
}
{
name = "zsh-syntax-highlighting";