Skip to content

Commit

Permalink
Remove vim-plugins.nix input
Browse files Browse the repository at this point in the history
  • Loading branch information
sestrella committed Jan 17, 2024
1 parent ee7b336 commit 246006f
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 198 deletions.
200 changes: 13 additions & 187 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 2 additions & 9 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,17 @@
home-manager.inputs.nixpkgs.follows = "nixpkgs";
home-manager.url = "github:nix-community/home-manager/release-23.11";
nixpkgs.url = "github:nixos/nixpkgs/nixos-23.11";
vim-plugins.inputs.nixpkgs.follows = "nixpkgs";
vim-plugins.url = "github:sestrella/vim-plugins.nix";
};

outputs = { devenv, nixpkgs, home-manager, vim-plugins, ... }: {
outputs = { self, devenv, nixpkgs, home-manager }: {
homeConfigurations =
let
mkHomeManagerConfig = { system, modules }:
home-manager.lib.homeManagerConfiguration {
inherit modules;
pkgs = import nixpkgs {
inherit system;
overlays = [
(final: prev: {
devenv = devenv.packages.${system}.default;
})
vim-plugins.overlays.default
];
overlays = [ devenv.overlays.default ];
};
};
in
Expand Down
10 changes: 9 additions & 1 deletion home/neovim/plugins/auto-dark-mode.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,15 @@

[
{
plugin = pkgs.vimPlugins.auto-dark-mode-nvim;
plugin = pkgs.vimUtils.buildVimPlugin rec {
name = "auto-dark-mode.nvim";
src = pkgs.fetchFromGitHub {
owner = "f-person";
repo = name;
rev = "76e8d40d1e1544bae430f739d827391cbcb42fcc";
hash = "sha256-uJ4LxczgWl4aQCFuG4cR+2zwhNo7HB6R7ZPTdgjvyfY";
};
};
config = builtins.readFile ./auto-dark-mode.lua;
type = "lua";
}
Expand Down
2 changes: 1 addition & 1 deletion home/tmux.nix
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
rtpFilePath = "main.tmux";
src = pkgs.fetchFromGitHub {
owner = "erikw";
repo = "tmux-dark-notify";
repo = pluginName;
rev = version;
hash = "sha256-dTtgWPZpu02BNuJ4QgXLXKpw/fSvDBZkLdqRKKCRBRA";
};
Expand Down

0 comments on commit 246006f

Please sign in to comment.