Compare commits
No commits in common. "23ccfed77e48e721c99e0e67dc18cda5f062a46c" and "6ab1751794a50040ef79df930a08bf4b098e35dd" have entirely different histories.
23ccfed77e
...
6ab1751794
3 changed files with 7 additions and 15 deletions
|
@ -42,7 +42,7 @@
|
|||
./nixos/catppuccin.nix
|
||||
./nixos/configuration.nix
|
||||
./nixos/development.nix
|
||||
./nixos/environment.nix
|
||||
#./nixos/environment.nix
|
||||
./nixos/gaming.nix
|
||||
./nixos/git.nix
|
||||
./nixos/gui-pkgs.nix
|
||||
|
|
|
@ -1,7 +1,10 @@
|
|||
{ lib, ... }: {
|
||||
environment.variables = {
|
||||
EDITOR = "nvim";
|
||||
VISUAL = "code";
|
||||
EDITOR = lib.mkDefault (if builtins.hasAttr "SSH_CONNECTION"
|
||||
builtins.currentSystemEnvironment then
|
||||
"nvim"
|
||||
else
|
||||
"code");
|
||||
|
||||
# XDG settings
|
||||
XDG_CONFIG_HOME = lib.mkDefault "$HOME/.config";
|
||||
|
|
|
@ -1,18 +1,7 @@
|
|||
{ pkgs, ... }: {
|
||||
{
|
||||
programs.nixvim = {
|
||||
extraPackages = with pkgs; [ fd ];
|
||||
enable = true;
|
||||
viAlias = true;
|
||||
vimAlias = true;
|
||||
colorschemes.catppuccin.enable = true;
|
||||
plugins = {
|
||||
conform-nvim = {
|
||||
enable = true;
|
||||
};
|
||||
treesitter.enable = true;
|
||||
cmp.enable = true;
|
||||
cmp-nvim-lsp.enable = true;
|
||||
lsp.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue