summaryrefslogtreecommitdiffstats
path: root/flake.nix
diff options
context:
space:
mode:
authorSkullheadx <admonty1@protonmail.com>2026-05-16 17:25:32 -0400
committerSkullheadx <admonty1@protonmail.com>2026-05-16 17:25:32 -0400
commitea2b4fd5424bb96710e1d78f62233155437a87c9 (patch)
tree36b825a41f381826af3e44f91e0de5d182df5d6e /flake.nix
parentupdate nix daemon (diff)
downloadnixos-ea2b4fd5424bb96710e1d78f62233155437a87c9.tar.gz
nixos-ea2b4fd5424bb96710e1d78f62233155437a87c9.tar.bz2
nixos-ea2b4fd5424bb96710e1d78f62233155437a87c9.zip
nvf neovim
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix17
1 files changed, 16 insertions, 1 deletions
diff --git a/flake.nix b/flake.nix
index 3d4f4c1..fa473f0 100644
--- a/flake.nix
+++ b/flake.nix
@@ -32,6 +32,10 @@
url = "github:Skullheadx/dmenu";
inputs.nixpkgs.follows = "nixpkgs";
};
+ nvf = {
+ url = "github:notashelf/nvf";
+ inputs.nixpkgs.follows = "nixpkgs";
+ };
};
outputs =
@@ -44,15 +48,26 @@
my-dwm,
my-st,
my-dmenu,
+ nvf,
}@inputs:
+ let
+ system = "x86_64-linux";
+ pkgs = nixpkgs.legacyPackages.${system};
+ customNeovim = nvf.lib.neovimConfiguration {
+ inherit pkgs;
+ modules = [ ./nvf/nvf.nix ];
+ };
+ in
{
nixosConfigurations.nepsis = nixpkgs.lib.nixosSystem {
- specialArgs = { inherit inputs; };
+ specialArgs = { inherit inputs customNeovim; };
modules = [
hjem.nixosModules.default
./configuration.nix
./overlays.nix
];
};
+
+ packages.${system}.my-neovim = customNeovim.neovim;
};
}