summaryrefslogtreecommitdiffstats
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix73
1 files changed, 40 insertions, 33 deletions
diff --git a/flake.nix b/flake.nix
index 5d97a42..7b3bb7e 100644
--- a/flake.nix
+++ b/flake.nix
@@ -11,44 +11,51 @@
url = "github:nix-community/stylix";
inputs.nixpkgs.follows = "nixpkgs";
};
+ nvf = {
+ url = "github:notashelf/nvf";
+ };
};
- outputs =
- {
- self,
- nixpkgs,
- home-manager,
- stylix,
- ...
- }@inputs:
- let
- lib = nixpkgs.lib;
- system = "x86_64-linux";
- pkgs = import nixpkgs {
+ outputs = {
+ self,
+ nixpkgs,
+ home-manager,
+ stylix,
+ nvf,
+ ...
+ } @ inputs: let
+ lib = nixpkgs.lib;
+ system = "x86_64-linux";
+ pkgs = import nixpkgs {
+ inherit system;
+ config.allowUnfree = true;
+ };
+ skullNeovim = nvf.lib.neovimConfiguration {
+ inherit pkgs;
+ modules = [
+ ./neovim.nix
+ ];
+ };
+ in {
+ nixosConfigurations = {
+ home = lib.nixosSystem {
inherit system;
- config.allowUnfree = true;
- };
- in
- {
- nixosConfigurations = {
- home = lib.nixosSystem {
- inherit system;
- modules = [ ./configuration.nix ];
- specialArgs = {
- inherit inputs;
- };
+ modules = [./configuration.nix];
+ specialArgs = {
+ inherit inputs;
};
};
- homeConfigurations = {
- andrew = home-manager.lib.homeManagerConfiguration {
- inherit pkgs;
- modules = [
- stylix.homeModules.stylix
- ./home.nix
- ];
- extraSpecialArgs = { inherit inputs; };
- };
+ };
+ homeConfigurations = {
+ andrew = home-manager.lib.homeManagerConfiguration {
+ inherit pkgs;
+ modules = [
+ stylix.homeModules.stylix
+ ./home.nix
+ ];
+ extraSpecialArgs = {inherit inputs skullNeovim;};
};
-
};
+ packages.${system}.skull-neovim = skullNeovim.neovim;
+ };
}