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

View file

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

View file

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

View file

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