nvf and cleanup
This commit is contained in:
parent
a75ef902af
commit
8111065f13
12
flake.nix
12
flake.nix
@ -1,5 +1,5 @@
|
||||
{
|
||||
description = "My highly sofisticated and complicated flake";
|
||||
description = "My highly sophisticated and complicated flake";
|
||||
|
||||
inputs = {
|
||||
install-script = {
|
||||
@ -60,6 +60,8 @@
|
||||
url = "github:ghostty-org/ghostty";
|
||||
};
|
||||
|
||||
nvf.url = "github:notashelf/nvf";
|
||||
|
||||
# Nix on Droid Configuration
|
||||
nixpkgs-droid.url = "github:NixOS/nixpkgs/nixos-24.05";
|
||||
|
||||
@ -162,5 +164,13 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
packages."x86_64-linux".default =
|
||||
(inputs.nvf.lib.neovimConfiguration {
|
||||
pkgs = nixpkgs.legacyPackages."x86_64-linux";
|
||||
modules = [
|
||||
./nixos/system/packages/nvf.nix
|
||||
];
|
||||
})
|
||||
.neovim;
|
||||
};
|
||||
}
|
||||
|
||||
@ -30,7 +30,7 @@
|
||||
++ (
|
||||
if pkgs.system == "x86_64-linux"
|
||||
then [
|
||||
nvtopPackages.full
|
||||
#nvtopPackages.full
|
||||
toybox
|
||||
]
|
||||
else []
|
||||
|
||||
31
nixos/system/packages/nvf.nix
Normal file
31
nixos/system/packages/nvf.nix
Normal file
@ -0,0 +1,31 @@
|
||||
{...}: {
|
||||
vim = {
|
||||
viAlias = true;
|
||||
vimAlias = true;
|
||||
|
||||
theme = {
|
||||
enable = true;
|
||||
name = "catppuccin"; # catppuccin, tokyo-night, one-dark
|
||||
style = "mocha";
|
||||
};
|
||||
|
||||
languages = {
|
||||
enableLSP = true;
|
||||
enableTreesitter = true;
|
||||
|
||||
nix.enable = true;
|
||||
rust.enable = true;
|
||||
python.enable = true;
|
||||
lua.enable = true;
|
||||
csharp.enable = true;
|
||||
go.enable = true;
|
||||
markdown.enable = true;
|
||||
clang.enable = true;
|
||||
html.enable = true;
|
||||
};
|
||||
|
||||
statusline.lualine.enable = true;
|
||||
telescope.enable = true;
|
||||
autocomplete.nvim-cmp.enable = true;
|
||||
};
|
||||
}
|
||||
@ -41,11 +41,14 @@
|
||||
"x-scheme-handler/https" = "${config.xdg.da.browser}.desktop";
|
||||
"x-scheme-handler/about" = "${config.xdg.da.browser}.desktop";
|
||||
"x-scheme-handler/unknown" = "${config.xdg.da.browser}.desktop";
|
||||
|
||||
"text/plain" = "${userSettings.editor}.desktop";
|
||||
"application/pdf" = "org.gnome.Evince.desktop";
|
||||
"image/svg+xml" = "org.gnome.Loupe.desktop";
|
||||
"image/svg+xml" = "inkscape.desktop";
|
||||
"image/jpeg" = "org.gnome.Loupe.desktop";
|
||||
"image/png" = "org.gnome.Loupe.desktop";
|
||||
"inode/directory" = "org.gnome.Nautilus.desktop";
|
||||
"video/mp4" = "mpv.desktop";
|
||||
};
|
||||
|
||||
programs.zsh.enable =
|
||||
|
||||
Loading…
Reference in New Issue
Block a user