Moved to more Nix neovim config

This commit is contained in:
Greg Hellings
2023-06-20 19:28:14 -05:00
parent c9ee6ab8b1
commit 99c3efc191
10 changed files with 494 additions and 284 deletions
+5 -5
View File
@@ -1,27 +1,27 @@
{ agenix, darwin, nixstable, nixunstable, overlays, hm, flake-utils, ... }:
{ inputs, overlays, ... }:
let
mac = {
system ? "aarch64-darwin",
name,
channel ? nixunstable,
channel ? inputs.nixunstable,
extraMods ? []
}:
let
nixpkgs = import channel {
inherit system overlays;
};
in darwin.lib.darwinSystem {
in inputs.darwin.lib.darwinSystem {
inherit system;
specialArgs = { inherit nixpkgs; };
modules = [
{ nixpkgs.overlays = overlays; }
agenix.nixosModules.default
hm.darwinModules.home-manager
inputs.hm.darwinModules.home-manager
{
home-manager = {
useGlobalPkgs = true;
users."gregory.hellings" = import ../home/home.nix;
extraSpecialArgs = {
inherit inputs;
gnome = false;
gui = true;
home = "/Users/gregory.hellings";