forked from poz/niksos
move neovim nightly overlay to the module
This commit is contained in:
parent
3c27e8d4c6
commit
88a5ca1f6e
4 changed files with 4 additions and 10 deletions
|
@ -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 = {
|
||||
|
|
|
@ -8,10 +8,7 @@
|
|||
config = {
|
||||
allowUnfree = true;
|
||||
};
|
||||
overlays = [
|
||||
inputs.nur.overlay
|
||||
inputs.neovim-nightly-overlay.overlay
|
||||
];
|
||||
overlays = [ inputs.nur.overlay ];
|
||||
};
|
||||
|
||||
boot = {
|
||||
|
|
|
@ -13,10 +13,7 @@
|
|||
];
|
||||
allowUnfree = true;
|
||||
};
|
||||
overlays = [
|
||||
inputs.nur.overlay
|
||||
inputs.neovim-nightly-overlay.overlay
|
||||
];
|
||||
overlays = [ inputs.nur.overlay ];
|
||||
};
|
||||
|
||||
boot = {
|
||||
|
|
|
@ -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";
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue