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

View file

@ -24,7 +24,7 @@
home-manager = {
config = ./home.nix;
backupFileExtension = "hm-bak";
useGlobalPkgs = true;
# useGlobalPkgs = true;
# 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
@ -60,6 +60,16 @@
# 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 = {
# enable = true;
# package = pkgs.zig;
@ -67,8 +77,7 @@
programs.neovim = {
enable = true;
# package = neovim-nightly-overlay.neovim-nightly;
# package = pkgs.neovim-nightly;
package = pkgs.neovim-nightly;
# defaultEditor = true;
viAlias = true;