move neovim nightly overlay to the module

This commit is contained in:
jacekpoz 2024-02-29 01:16:53 +01:00
parent 3c27e8d4c6
commit 88a5ca1f6e
No known key found for this signature in database
GPG key ID: 94E812A8B12AAE3C
4 changed files with 4 additions and 10 deletions

View file

@ -1,6 +1,5 @@
{
config,
inputs,
...
}: let
username = config.myOptions.other.system.username;
@ -8,7 +7,6 @@ in {
nixpkgs = {
# fuck broadcom
config.allowUnfree = true;
overlays = [ inputs.neovim-nightly-overlay.overlay ];
};
boot.loader = {

View file

@ -8,10 +8,7 @@
config = {
allowUnfree = true;
};
overlays = [
inputs.nur.overlay
inputs.neovim-nightly-overlay.overlay
];
overlays = [ inputs.nur.overlay ];
};
boot = {

View file

@ -13,10 +13,7 @@
];
allowUnfree = true;
};
overlays = [
inputs.nur.overlay
inputs.neovim-nightly-overlay.overlay
];
overlays = [ inputs.nur.overlay ];
};
boot = {

View file

@ -12,6 +12,8 @@ in {
options.myOptions.programs.neovim.enable = mkEnableOption "enable neovim";
config = mkIf cfg.enable {
nixpkgs.overlays = [ inputs.neovim-nightly-overlay.overlay ];
environment.sessionVariables = {
EDITOR = "${pkgs.neovim}/bin/nvim";
};