Update lazyvim
This commit is contained in:
parent
fc11a4ed7c
commit
cd0bfe5cd5
10 changed files with 79 additions and 87 deletions
|
|
@ -1,31 +1,35 @@
|
|||
{
|
||||
description = "Dashies neovim config";
|
||||
description = "A lazyvim configuration";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
home-manager = {
|
||||
url = "github:nix-community/home-manager";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
flake-parts = {
|
||||
url = "github:hercules-ci/flake-parts";
|
||||
inputs.nixpkgs-lib.follows = "nixpkgs";
|
||||
};
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
flake-parts.url = "github:hercules-ci/flake-parts";
|
||||
};
|
||||
|
||||
outputs =
|
||||
{ ...
|
||||
}@inputs:
|
||||
let
|
||||
pkgs = import inputs.nixpkgs {
|
||||
system = "x86_64-linux";
|
||||
overlays = [
|
||||
inputs.nur.overlay
|
||||
];
|
||||
config = {
|
||||
allowUnfree = true;
|
||||
{ flake-parts, ... }@inputs:
|
||||
flake-parts.lib.mkFlake { inherit inputs; } {
|
||||
systems = [
|
||||
"x86_64-linux"
|
||||
"aarch64-linux"
|
||||
"x86_64-darwin"
|
||||
"aarch64-darwin"
|
||||
];
|
||||
|
||||
perSystem =
|
||||
{ pkgs, ... }:
|
||||
let
|
||||
colorscheme = "catppuccin-mocha";
|
||||
dashieVimModule = {
|
||||
inherit pkgs colorscheme;
|
||||
module = import ./default.nix;
|
||||
nvim = pkgs.neovim;
|
||||
};
|
||||
in
|
||||
{
|
||||
packages = {
|
||||
default = dashieVimModule.nvim;
|
||||
};
|
||||
};
|
||||
};
|
||||
in
|
||||
{
|
||||
imports = [ ./default.nix { inherit pkgs; } ];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue