This commit is contained in:
Ellis Rahhal 2025-03-22 14:35:48 -07:00
parent 650dc70f39
commit b0009ef3f1

View file

@ -6,26 +6,21 @@
## for explicitly installed packages and non nixvim config ## for explicitly installed packages and non nixvim config
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
nixvim = { nixvim = {
url = "github:nix-community/nixvim"; url = "github:nix-community/nixvim";
}; };
}; };
outputs = { nixpkgs, flake-utils, ... } @ inputs: outputs = { self, nixpkgs, flake-utils, ... } @ inputs:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = nixpkgs.legacyPackages.${system};
in
{ {
nixosModules = rec { nixosModules = rec {
nixvim-config = import ./default.nix { nixvim-config = { pkgs, ... }:
import ./default.nix {
inherit inputs; inherit inputs;
inherit pkgs; inherit pkgs;
}; };
default = nixvim-config; default = nixvim-config;
}; };
}); };
} }