feat(cheetah): enable neovim-nightly overlay

This commit is contained in:
reo101 2022-11-21 09:52:42 +02:00
parent 39188a4297
commit da4bd3e943
3 changed files with 15 additions and 9 deletions

View file

@ -52,7 +52,6 @@
, ... , ...
} @ inputs: } @ inputs:
let let
# inherit (self) outputs;
# forAllSystems = nixpkgs.lib.genAttrs [ # forAllSystems = nixpkgs.lib.genAttrs [
# "aarch64-linux" # "aarch64-linux"
# "i686-linux" # "i686-linux"
@ -60,6 +59,7 @@
# "aarch64-darwin" # "aarch64-darwin"
# "x86_64-darwin" # "x86_64-darwin"
# ]; # ];
inherit (self) outputs;
in in
rec { rec {
# packages = forAllSystems (system: # packages = forAllSystems (system:
@ -89,7 +89,6 @@
nixOnDroidConfigurations = nixOnDroidConfigurations =
let mkHost = system: hostname: nix-on-droid.lib.nixOnDroidConfiguration { let mkHost = system: hostname: nix-on-droid.lib.nixOnDroidConfiguration {
# pkgs = legacyPackages.${system};
pkgs = import nixpkgs { pkgs = import nixpkgs {
inherit system; inherit system;
@ -104,9 +103,7 @@
] ++ (builtins.attrValues nixOnDroidModules); ] ++ (builtins.attrValues nixOnDroidModules);
extraSpecialArgs = { extraSpecialArgs = {
inherit inputs; inherit inputs outputs;
# inherit outputs;
# inherit inputs outputs;
# rootPath = ./.; # rootPath = ./.;
}; };

View file

@ -24,7 +24,7 @@
home-manager = { home-manager = {
config = ./home.nix; config = ./home.nix;
backupFileExtension = "hm-bak"; backupFileExtension = "hm-bak";
useGlobalPkgs = true; # useGlobalPkgs = true;
# extraOptions = { inherit inputs; }; # extraOptions = { inherit inputs; };
}; };

View file

@ -1,4 +1,4 @@
{ inputs ? {}, outputs ? {}, lib, config, pkgs, ... }: { lib, config, pkgs, ... }:
{ {
# Home Manager needs a bit of information about you and the # Home Manager needs a bit of information about you and the
@ -60,6 +60,16 @@
# config.allowUnfree = true; # config.allowUnfree = true;
# }; # };
nixpkgs = {
overlays = [
(import (builtins.fetchTarball {
url = https://github.com/nix-community/neovim-nightly-overlay/archive/master.tar.gz;
}))
];
config.allowUnfree = true;
};
# programs.zig = { # programs.zig = {
# enable = true; # enable = true;
# package = pkgs.zig; # package = pkgs.zig;
@ -67,8 +77,7 @@
programs.neovim = { programs.neovim = {
enable = true; enable = true;
# package = neovim-nightly-overlay.neovim-nightly; package = pkgs.neovim-nightly;
# package = pkgs.neovim-nightly;
# defaultEditor = true; # defaultEditor = true;
viAlias = true; viAlias = true;