mirror of
https://github.com/eRgo35/nix-config.git
synced 2026-02-04 10:16:13 +01:00
neovim config
This commit is contained in:
11
apps/neovim.nix
Normal file
11
apps/neovim.nix
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
{ unstable, ... }: {
|
||||||
|
programs.neovim = {
|
||||||
|
enable = true;
|
||||||
|
|
||||||
|
viAlias = true;
|
||||||
|
vimAlias = true;
|
||||||
|
vimdiffAlias = true;
|
||||||
|
|
||||||
|
defaultEditor = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
86
home.nix
86
home.nix
@@ -1,4 +1,4 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, pkgs-unstable, ... }:
|
||||||
let
|
let
|
||||||
myAliases = {
|
myAliases = {
|
||||||
".." = "cd ..";
|
".." = "cd ..";
|
||||||
@@ -53,45 +53,57 @@ in {
|
|||||||
# release notes.
|
# release notes.
|
||||||
home.stateVersion = "23.11"; # Please read the comment before changing.
|
home.stateVersion = "23.11"; # Please read the comment before changing.
|
||||||
|
|
||||||
|
imports = [
|
||||||
|
./apps/neovim.nix
|
||||||
|
];
|
||||||
|
|
||||||
# The home.packages option allows you to install Nix packages into your
|
# The home.packages option allows you to install Nix packages into your
|
||||||
# environment.
|
# environment.
|
||||||
home.packages = with pkgs; [
|
home.packages =
|
||||||
# zsh stuff
|
(with pkgs; [
|
||||||
zsh
|
# zsh stuff
|
||||||
zsh-autosuggestions
|
zsh
|
||||||
zsh-powerlevel10k
|
zsh-autosuggestions
|
||||||
thefuck
|
zsh-powerlevel10k
|
||||||
|
thefuck
|
||||||
|
|
||||||
# graphics
|
# graphics
|
||||||
tuxpaint
|
tuxpaint
|
||||||
krita
|
krita
|
||||||
|
|
||||||
# tools
|
# tools
|
||||||
kitty
|
kitty
|
||||||
rofi
|
rofi
|
||||||
git
|
git
|
||||||
eza
|
eza
|
||||||
yt-dlp
|
yt-dlp
|
||||||
ffmpeg
|
ffmpeg
|
||||||
texliveFull
|
texliveFull
|
||||||
|
|
||||||
# media
|
# media
|
||||||
spotify
|
spotify
|
||||||
vlc
|
vlc
|
||||||
mpv
|
mpv
|
||||||
obs-studio
|
obs-studio
|
||||||
|
|
||||||
# desktop
|
# desktop
|
||||||
firefox
|
firefox
|
||||||
discord
|
discord
|
||||||
telegram-desktop
|
telegram-desktop
|
||||||
|
|
||||||
# gaming
|
# gaming
|
||||||
prismlauncher
|
prismlauncher
|
||||||
steam
|
steam
|
||||||
|
|
||||||
# custom
|
# custom
|
||||||
];
|
])
|
||||||
|
|
||||||
|
++
|
||||||
|
|
||||||
|
(with pkgs-unstable; [
|
||||||
|
# I need fresssh stuff
|
||||||
|
neovim
|
||||||
|
]);
|
||||||
|
|
||||||
# Home Manager is pretty good at managing dotfiles. The primary way to manage
|
# Home Manager is pretty good at managing dotfiles. The primary way to manage
|
||||||
# plain files is through 'home.file'.
|
# plain files is through 'home.file'.
|
||||||
@@ -112,16 +124,6 @@ in {
|
|||||||
EDITOR = "nvim";
|
EDITOR = "nvim";
|
||||||
};
|
};
|
||||||
|
|
||||||
#programs.neovim = {
|
|
||||||
# enable = true;
|
|
||||||
#
|
|
||||||
# viAlias = true;
|
|
||||||
# vimAlias = true;
|
|
||||||
# vimdiffAlias = true;
|
|
||||||
#
|
|
||||||
# defaultEditor = true;
|
|
||||||
# };
|
|
||||||
|
|
||||||
programs.bash = {
|
programs.bash = {
|
||||||
enable = true;
|
enable = true;
|
||||||
shellAliases = myAliases;
|
shellAliases = myAliases;
|
||||||
|
|||||||
@@ -163,8 +163,6 @@
|
|||||||
++
|
++
|
||||||
|
|
||||||
(with pkgs-unstable; [
|
(with pkgs-unstable; [
|
||||||
neovim
|
|
||||||
|
|
||||||
cmake
|
cmake
|
||||||
gcc
|
gcc
|
||||||
clang
|
clang
|
||||||
|
|||||||
Reference in New Issue
Block a user