Skip to content

Commit

Permalink
chore: remove dead code with deadnix
Browse files Browse the repository at this point in the history
  • Loading branch information
caarlos0 committed Jan 22, 2025
1 parent 5f520c6 commit 029cdcb
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 19 deletions.
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
let
overlays = [
# inputs.neovim-nightly.overlay
(final: prev: {
(_final: prev: {
nur = import nur {
nurpkgs = prev;
pkgs = prev;
Expand Down
2 changes: 0 additions & 2 deletions machines/media/hardware.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{
config,
lib,
pkgs,
modulesPath,
...
}:
Expand Down
16 changes: 0 additions & 16 deletions modules/neovim/default.nix
Original file line number Diff line number Diff line change
@@ -1,24 +1,8 @@
{
config,
pkgs,
lib,
...
}:
let
fromGitHub =
owner: repo: ref: hash:
pkgs.vimUtils.buildVimPlugin {
pname = "${lib.strings.sanitizeDerivationName repo}";
version = ref;
src = pkgs.fetchFromGitHub {
owner = owner;
repo = repo;
rev = ref;
sha256 = hash;
};
};

in
{
programs.neovim = {
enable = true;
Expand Down

0 comments on commit 029cdcb

Please sign in to comment.