nvim fix
This commit is contained in:
+1
-1
@@ -1 +1 @@
|
|||||||
sudo nixos-rebuild build-vm --flake .#$(hostname)
|
nixos-rebuild build-vm --flake .#$(hostname)
|
||||||
@@ -31,10 +31,6 @@
|
|||||||
localNetworkGameTransfers.openFirewall = true; # Open ports in the firewall for Steam Local Network Game Transfers
|
localNetworkGameTransfers.openFirewall = true; # Open ports in the firewall for Steam Local Network Game Transfers
|
||||||
gamescopeSession.enable = true;
|
gamescopeSession.enable = true;
|
||||||
};
|
};
|
||||||
programs.neovim = {
|
|
||||||
enable = true;
|
|
||||||
defaultEditor = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -309,17 +305,6 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.neovim = { # Configure nvim
|
|
||||||
enable = true;
|
|
||||||
extraConfig = ''
|
|
||||||
set number relativenumber
|
|
||||||
set tabstop=2
|
|
||||||
set softtabstop=2
|
|
||||||
set shiftwidth=2
|
|
||||||
set expandtab
|
|
||||||
set cc=80
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
programs.vscode = { # Configure vscodium
|
programs.vscode = { # Configure vscodium
|
||||||
enable = true;
|
enable = true;
|
||||||
package = inputs.nixpkgs-unstable.legacyPackages.${pkgs.system}.vscodium; # i just want the vscode-dark-2026 theme
|
package = inputs.nixpkgs-unstable.legacyPackages.${pkgs.system}.vscodium; # i just want the vscode-dark-2026 theme
|
||||||
@@ -399,13 +384,15 @@
|
|||||||
gdb
|
gdb
|
||||||
tldr
|
tldr
|
||||||
rust-analyzer
|
rust-analyzer
|
||||||
|
cargo
|
||||||
|
rustc
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
# Use https://search.nixos.org/ to find more packages (and options).
|
# Use https://search.nixos.org/ to find more packages (and options).
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
firefox
|
firefox
|
||||||
inputs.nixpkgs-unstable.legacyPackages.${pkgs.system}.neovim
|
neovim
|
||||||
wget
|
wget
|
||||||
gnome-disk-utility
|
gnome-disk-utility
|
||||||
dunst
|
dunst
|
||||||
@@ -443,6 +430,8 @@
|
|||||||
|
|
||||||
environment.sessionVariables = {
|
environment.sessionVariables = {
|
||||||
SUDO_EDITOR = "nvim";
|
SUDO_EDITOR = "nvim";
|
||||||
|
EDITOR = "nvim";
|
||||||
|
VISUAL = "nvim";
|
||||||
};
|
};
|
||||||
|
|
||||||
hardware.bluetooth = {
|
hardware.bluetooth = {
|
||||||
|
|||||||
Reference in New Issue
Block a user