Removed npins

I can use flake's inputs features (I just have to mark the stuff I'm
replacing with `flake = false`).
This commit is contained in:
alejandro-angulo 2024-07-31 20:03:15 -07:00
parent 28035db14c
commit 2fc87419ac
Signed by: alejandro-angulo
GPG key ID: 75579581C74554B6
7 changed files with 90 additions and 150 deletions

View file

@ -1,6 +1,7 @@
{
lib,
config,
inputs,
pkgs,
namespace,
...
@ -8,7 +9,6 @@
inherit (lib) mkEnableOption;
inherit (pkgs) tmuxPlugins;
sources = import ../../../../npins;
cfg = config.${namespace}.apps.tmux;
in {
options.${namespace}.apps.tmux = {
@ -47,7 +47,7 @@ in {
{
pluginName = "tmux-nerd-font-window-name";
version = "2.1.1";
src = sources.tmux-nerd-font-window-name;
src = inputs.tmux-nerd-font-window-name;
nativeBuildInputs = [pkgs.makeWrapper];
rtpFilePath = "tmux-nerd-font-window-name.tmux";
postInstall = ''

View file

@ -1,12 +1,12 @@
{
config,
inputs,
lib,
namespace,
...
}: let
inherit (lib) mkEnableOption mkIf;
sources = import ../../../../npins;
cfg = config.${namespace}.tools.zsh;
in {
options.${namespace}.tools.zsh = {
@ -35,12 +35,12 @@ in {
plugins = [
{
name = "zsh-syntax-highlighting";
src = sources.zsh-syntax-highlighting;
src = inputs.zsh-syntax-highlighting;
file = "zsh-syntax-highlighting.zsh";
}
{
name = "powerlevel10k";
src = sources.powerlevel10k;
src = inputs.powerlevel10k;
file = "powerlevel10k.zsh-theme";
}
{
@ -50,7 +50,7 @@ in {
}
{
name = "base16-shell";
src = sources.base16-shell;
src = inputs.base16-shell;
file = "base16-shell.plugin.zsh";
}
];

View file

@ -26,7 +26,6 @@ in {
awscli2
direnv
minio-client
npins
pre-commit
git
];