mirror of
https://github.com/Cian-H/My_NixOS_Config.git
synced 2025-12-22 23:11:57 +00:00
Moved neovim config to core nixos config
This commit is contained in:
@@ -8,5 +8,6 @@
|
|||||||
}: {
|
}: {
|
||||||
imports = [
|
imports = [
|
||||||
./programs/yazi.nix
|
./programs/yazi.nix
|
||||||
|
./programs/neovim.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
18
nixos/core/programs/neovim.nix
Normal file
18
nixos/core/programs/neovim.nix
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
{
|
||||||
|
inputs,
|
||||||
|
lib,
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
unstablePkgs,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
programs.neovim = {
|
||||||
|
enable = true;
|
||||||
|
defaultEditor = true;
|
||||||
|
viAlias = true;
|
||||||
|
vimAlias = true;
|
||||||
|
withPython3 = true;
|
||||||
|
withNodeJs = true;
|
||||||
|
withRuby = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -176,16 +176,6 @@
|
|||||||
unstablePkgs.yazi
|
unstablePkgs.yazi
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.neovim = {
|
|
||||||
enable = true;
|
|
||||||
defaultEditor = true;
|
|
||||||
viAlias = true;
|
|
||||||
vimAlias = true;
|
|
||||||
withPython3 = true;
|
|
||||||
withNodeJs = true;
|
|
||||||
withRuby = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
# Enable the OpenSSH daemon and other remote tools.
|
# Enable the OpenSSH daemon and other remote tools.
|
||||||
services.openssh = {
|
services.openssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|||||||
@@ -276,15 +276,6 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
extraOptions = ["--unsupported-gpu"];
|
extraOptions = ["--unsupported-gpu"];
|
||||||
};
|
};
|
||||||
programs.neovim = {
|
|
||||||
enable = true;
|
|
||||||
defaultEditor = true;
|
|
||||||
viAlias = true;
|
|
||||||
vimAlias = true;
|
|
||||||
withPython3 = true;
|
|
||||||
withNodeJs = true;
|
|
||||||
withRuby = true;
|
|
||||||
};
|
|
||||||
programs.waybar.enable = true;
|
programs.waybar.enable = true;
|
||||||
|
|
||||||
# Enable my preferred DE utilities
|
# Enable my preferred DE utilities
|
||||||
|
|||||||
Reference in New Issue
Block a user