Skip to content

Commit

Permalink
neovim: fix broken overlay
Browse files Browse the repository at this point in the history
  • Loading branch information
sandydoo committed Jun 19, 2024
1 parent 4078395 commit 261ff27
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 22 deletions.
22 changes: 4 additions & 18 deletions flake.lock

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

4 changes: 4 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
vscode-server.url = "github:nix-community/nixos-vscode-server";
vscode-server.inputs.nixpkgs.follows = "nixpkgs";
neovim-nightly.url = "github:nix-community/neovim-nightly-overlay";
neovim-nightly.inputs.nixpkgs.follows = "nix-unstable";
};

outputs = { self, nixpkgs, nix-unstable, home-manager, darwin, nix-darwin, vscode-server, ... }@inputs:
Expand All @@ -36,6 +37,9 @@
system = "aarch64-linux";
config.allowUnfree = true;
config.allowBroken = true;
overlays = [
inputs.neovim-nightly.overlays.default
];
};
};
};
Expand Down
3 changes: 1 addition & 2 deletions modules/common.nix
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,11 @@
nixpkgs.overlays = [
(import "${inputs.self}/overlays")
(final: prev: { latest = unstable; })
inputs.neovim-nightly.overlays.default
];

home-manager.useUserPackages = true;
home-manager.useGlobalPkgs = true;
home-manager.extraSpecialArgs = { inherit inputs; };
home-manager.extraSpecialArgs = { inherit inputs; inherit unstable; };
home-manager.users.sandydoo = import "${inputs.self}/users/sandydoo/home.nix";

users.mutableUsers = false;
Expand Down
4 changes: 2 additions & 2 deletions users/sandydoo/home.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ pkgs, lib, inputs, ... }:
{ pkgs, lib, inputs, unstable, ... }:

with lib.hm.gvariant;

Expand All @@ -11,7 +11,7 @@ with lib.hm.gvariant;

home.packages = with pkgs; [
# Editors
neovim
unstable.neovim
kakoune
helix

Expand Down

0 comments on commit 261ff27

Please sign in to comment.