Skip to content

Commit

Permalink
add neovim configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
ecarlson94 committed Feb 15, 2024
1 parent a38f10f commit e78b89c
Show file tree
Hide file tree
Showing 3 changed files with 278 additions and 8 deletions.
278 changes: 272 additions & 6 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,12 @@

inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";

home-manager.url = "github:nix-community/home-manager";
home-manager.inputs.nixpkgs.follows = "nixpkgs";

nixvim.url = "github:ecarlson94/nixvim/main";
nixvim.inputs.nixpkgs.follows = "nixpkgs";
};

outputs = inputs@{ nixpkgs, home-manager, ... }: {
Expand Down
4 changes: 2 additions & 2 deletions machines/wsl/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# NixOS-WSL specific options are documented on the NixOS-WSL repository:
# https://github.com/nix-community/NixOS-WSL

{ config, lib, pkgs, ... }:
{ config, lib, pkgs, inputs, ... }:

{
imports = [
Expand All @@ -30,7 +30,7 @@
environment.systemPackages = with pkgs; [
# Flakes use Git to pull dependencies from data sources
git
vim
inputs.nixvim.packages."x86_64-linux".default
(import ./bin/rebuild.nix { inherit pkgs; })
];

Expand Down

0 comments on commit e78b89c

Please sign in to comment.