Compare commits

..

No commits in common. "23ccfed77e48e721c99e0e67dc18cda5f062a46c" and "6ab1751794a50040ef79df930a08bf4b098e35dd" have entirely different histories.

3 changed files with 7 additions and 15 deletions

View file

@ -42,7 +42,7 @@
./nixos/catppuccin.nix ./nixos/catppuccin.nix
./nixos/configuration.nix ./nixos/configuration.nix
./nixos/development.nix ./nixos/development.nix
./nixos/environment.nix #./nixos/environment.nix
./nixos/gaming.nix ./nixos/gaming.nix
./nixos/git.nix ./nixos/git.nix
./nixos/gui-pkgs.nix ./nixos/gui-pkgs.nix

View file

@ -1,7 +1,10 @@
{ lib, ... }: { { lib, ... }: {
environment.variables = { environment.variables = {
EDITOR = "nvim"; EDITOR = lib.mkDefault (if builtins.hasAttr "SSH_CONNECTION"
VISUAL = "code"; builtins.currentSystemEnvironment then
"nvim"
else
"code");
# XDG settings # XDG settings
XDG_CONFIG_HOME = lib.mkDefault "$HOME/.config"; XDG_CONFIG_HOME = lib.mkDefault "$HOME/.config";

View file

@ -1,18 +1,7 @@
{ pkgs, ... }: { {
programs.nixvim = { programs.nixvim = {
extraPackages = with pkgs; [ fd ];
enable = true; enable = true;
viAlias = true; viAlias = true;
vimAlias = 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;
};
}; };
} }