first commit
This commit is contained in:
commit
e029b932cf
2318
flake.lock
generated
Normal file
2318
flake.lock
generated
Normal file
File diff suppressed because it is too large
Load Diff
22
flake.nix
Normal file
22
flake.nix
Normal file
@ -0,0 +1,22 @@
|
||||
{
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
nvf.url = "github:notashelf/nvf";
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, nvf, ...}: {
|
||||
|
||||
packages."x86_64-linux".default =
|
||||
(nvf.lib.neovimConfiguration {
|
||||
pkgs = nixpkgs.legacyPackages."x86_64-linux";
|
||||
modules = [ ./nvf-configuration.nix ];
|
||||
}).neovim;
|
||||
|
||||
nixosConfiguration.nixos = nixpkgs.lib.nixosSystem {
|
||||
modules = [
|
||||
./configuration.nix
|
||||
nvf.nixosModues.default
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
43
nvf-configuration.nix
Normal file
43
nvf-configuration.nix
Normal file
@ -0,0 +1,43 @@
|
||||
{ pkgs, lib, ...}:
|
||||
|
||||
{
|
||||
vim = {
|
||||
theme = {
|
||||
enable = true;
|
||||
name = "base16";
|
||||
style = "dark";
|
||||
|
||||
base16-colors = {
|
||||
base00 = "#000000";
|
||||
base01 = "#ff0000";
|
||||
base02 = "#33ff00";
|
||||
base03 = "#ff0099";
|
||||
base04 = "#0066ff";
|
||||
base05 = "#cc00ff";
|
||||
base06 = "#00ffff";
|
||||
base07 = "#d0d0d0";
|
||||
base08 = "#808080";
|
||||
base09 = "#ff9900";
|
||||
base0A = "#404040";
|
||||
base0B = "#606060";
|
||||
base0C = "#c0c0c0";
|
||||
base0D = "#e0e0e0";
|
||||
base0E = "#3300ff";
|
||||
base0F = "#ffffff";
|
||||
};
|
||||
};
|
||||
|
||||
statusline.lualine.enable = true;
|
||||
telescope.enable = true;
|
||||
autocomplete.nvim-cmp.enable = true;
|
||||
|
||||
languages = {
|
||||
enableLSP = true;
|
||||
enableTreesitter = true;
|
||||
|
||||
nix.enable = true;
|
||||
rust.enable = true;
|
||||
csharp.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user