Redos Fish plugins
This commit is contained in:
parent
4563a7973d
commit
4cba2579b4
34
flake.lock
34
flake.lock
|
@ -16,38 +16,6 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"fish-plugin-foreign-env": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1692819433,
|
||||
"narHash": "sha256-4+k5rSoxkTtYFh/lEjhRkVYa2S4KEzJ/IJbyJl+rJjQ=",
|
||||
"owner": "oh-my-fish",
|
||||
"repo": "plugin-foreign-env",
|
||||
"rev": "7f0cf099ae1e1e4ab38f46350ed6757d54471de7",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "oh-my-fish",
|
||||
"repo": "plugin-foreign-env",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"fish-plugin-fzf": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1712464035,
|
||||
"narHash": "sha256-T8KYLA/r/gOKvAivKRoeqIwE2pINlxFQtZJHpOy9GMM=",
|
||||
"owner": "PatrickF1",
|
||||
"repo": "fzf.fish",
|
||||
"rev": "8920367cf85eee5218cc25a11e209d46e2591e7a",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "PatrickF1",
|
||||
"repo": "fzf.fish",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"flake-compat": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
|
@ -208,8 +176,6 @@
|
|||
"root": {
|
||||
"inputs": {
|
||||
"dm-mono-font": "dm-mono-font",
|
||||
"fish-plugin-foreign-env": "fish-plugin-foreign-env",
|
||||
"fish-plugin-fzf": "fish-plugin-fzf",
|
||||
"flake-compat": "flake-compat",
|
||||
"home-manager": "home-manager",
|
||||
"lix-module": "lix-module",
|
||||
|
|
|
@ -27,14 +27,6 @@
|
|||
url = "github:githubnext/monaspace?rev=601eb27f902432999302e0e64db2daacc954f156";
|
||||
flake = false;
|
||||
};
|
||||
fish-plugin-foreign-env = {
|
||||
url = "github:oh-my-fish/plugin-foreign-env";
|
||||
flake = false;
|
||||
};
|
||||
fish-plugin-fzf = {
|
||||
url = "github:PatrickF1/fzf.fish";
|
||||
flake = false;
|
||||
};
|
||||
};
|
||||
|
||||
outputs = inputs@{ self, nixpkgs, nix-darwin, home-manager, lix-module, ... }:
|
||||
|
|
|
@ -1,20 +1,23 @@
|
|||
{ inputs, config, osConfig, pkgs, ... }:
|
||||
|
||||
let username = config.home.username;
|
||||
let
|
||||
username = config.home.username;
|
||||
fishPlugins = with pkgs.fishPlugins; [
|
||||
autopair-fish
|
||||
colored-man-pages
|
||||
foreign-env
|
||||
fzf-fish
|
||||
gruvbox
|
||||
];
|
||||
|
||||
in {
|
||||
programs.fish = {
|
||||
enable = true;
|
||||
|
||||
plugins = [
|
||||
{
|
||||
name = "foreign-env";
|
||||
src = inputs.fish-plugin-foreign-env;
|
||||
}
|
||||
{
|
||||
name = "fzf";
|
||||
src = inputs.fish-plugin-fzf;
|
||||
}
|
||||
];
|
||||
plugins = builtins.map (p: {
|
||||
name = p.meta.name;
|
||||
src = p.src;
|
||||
}) fishPlugins;
|
||||
|
||||
functions = {
|
||||
where = "readlink -f (which $argv)";
|
||||
|
|
Loading…
Reference in New Issue