mirror of
https://git.gay/xqtc/nixos-config
synced 2024-11-22 08:50:32 +01:00
"Adding further neovim configuration; flake update"
This commit is contained in:
parent
b6b6d4a912
commit
2e247f21ab
|
@ -138,11 +138,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1706098335,
|
"lastModified": 1706515015,
|
||||||
"narHash": "sha256-r3dWjT8P9/Ah5m5ul4WqIWD8muj5F+/gbCdjiNVBKmU=",
|
"narHash": "sha256-eFfY5A7wlYy3jD/75lx6IJRueg4noE+jowl0a8lIlVo=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "a77ab169a83a4175169d78684ddd2e54486ac651",
|
"rev": "f4a8d6d5324c327dcc2d863eb7f3cc06ad630df4",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -7,6 +7,9 @@
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
#inputs.nvidia_pinned = {
|
||||||
|
# inputs.nixpkgs.follows = "nixos-unstable";
|
||||||
|
#};
|
||||||
inputs.nixvim = {
|
inputs.nixvim = {
|
||||||
# If you are not running an unstable channel of nixpkgs, select the corresponding branch of nixvim.
|
# If you are not running an unstable channel of nixpkgs, select the corresponding branch of nixvim.
|
||||||
url = "github:nix-community/nixvim/nixos-23.11";
|
url = "github:nix-community/nixvim/nixos-23.11";
|
||||||
|
|
|
@ -39,7 +39,7 @@ config.text_background_opacity = .4
|
||||||
config.enable_scroll_bar = false
|
config.enable_scroll_bar = false
|
||||||
config.enable_tab_bar = true
|
config.enable_tab_bar = true
|
||||||
config.tab_bar_at_bottom = true
|
config.tab_bar_at_bottom = true
|
||||||
config.enable_wayland = true
|
config.enable_wayland = false
|
||||||
config.front_end = "OpenGL"
|
config.front_end = "OpenGL"
|
||||||
config.warn_about_missing_glyphs = false
|
config.warn_about_missing_glyphs = false
|
||||||
return config
|
return config
|
||||||
|
|
|
@ -56,9 +56,16 @@
|
||||||
|
|
||||||
colorschemes.catppuccin.enable = true;
|
colorschemes.catppuccin.enable = true;
|
||||||
plugins = {
|
plugins = {
|
||||||
|
lualine.enable = true;
|
||||||
|
lsp-format = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
lsp = {
|
lsp = {
|
||||||
enable = true;
|
enable = true;
|
||||||
servers = {
|
servers = {
|
||||||
|
svelte.enable = true;
|
||||||
|
tsserver.enable = true;
|
||||||
|
eslint.enable = true;
|
||||||
rust-analyzer = {
|
rust-analyzer = {
|
||||||
enable = true;
|
enable = true;
|
||||||
installLanguageServer = false;
|
installLanguageServer = false;
|
||||||
|
@ -113,6 +120,10 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
telescope.enable = true;
|
telescope.enable = true;
|
||||||
|
telescope.extensions = {
|
||||||
|
file_browser.enable = true;
|
||||||
|
};
|
||||||
|
which-key.enable = true;
|
||||||
cmp-nvim-lsp.enable = true;
|
cmp-nvim-lsp.enable = true;
|
||||||
cmp-nvim-lua.enable = true;
|
cmp-nvim-lua.enable = true;
|
||||||
noice.enable = true;
|
noice.enable = true;
|
||||||
|
@ -132,7 +143,13 @@
|
||||||
mode = "n";
|
mode = "n";
|
||||||
key = "<leader>ff";
|
key = "<leader>ff";
|
||||||
options.silent = true;
|
options.silent = true;
|
||||||
action = "<cmd>Telescope find_files<CR>";
|
action = "<cmd>Telescope file_browser<CR>";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
mode = "n";
|
||||||
|
key = "<leader>bb";
|
||||||
|
options.silent = true;
|
||||||
|
action = "<cmd>Telescope buffers<CR>";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
mode = "n";
|
mode = "n";
|
||||||
|
|
|
@ -4,8 +4,6 @@
|
||||||
⠀⠀⠀⠀⣠⣾⣿⣿⡿⠛⠉⠀⠀⠀⠀⠀⠀⠀⠀⠉⠛⢿⣿⣿⣶⡀⠀⠀⠀⠀
|
⠀⠀⠀⠀⣠⣾⣿⣿⡿⠛⠉⠀⠀⠀⠀⠀⠀⠀⠀⠉⠛⢿⣿⣿⣶⡀⠀⠀⠀⠀
|
||||||
⠀⠀⠀⣴⣿⣿⠟⠁⠀⠀⠀⣶⣶⣶⣶⡆⠀⠀⠀⠀⠀⠀⠈⠻⣿⣿⣦⠀⠀⠀
|
⠀⠀⠀⣴⣿⣿⠟⠁⠀⠀⠀⣶⣶⣶⣶⡆⠀⠀⠀⠀⠀⠀⠈⠻⣿⣿⣦⠀⠀⠀
|
||||||
⠀⠀⣼⣿⣿⠋⠀⠀⠀⠀⠀⠛⠛⢻⣿⣿⡀⠀⠀⠀⠀⠀⠀⠀⠙⣿⣿⣧⠀⠀
|
⠀⠀⣼⣿⣿⠋⠀⠀⠀⠀⠀⠛⠛⢻⣿⣿⡀⠀⠀⠀⠀⠀⠀⠀⠙⣿⣿⣧⠀⠀
|
||||||
⠀⢸⣿⣿⠃⠀⠀⠀⠀⠀⠀⠀⠀⢀⣿⣿⣷⠀⠀⠀⠀⠀⠀⠀⠀⠸⣿⣿⡇⠀
|
|
||||||
⠀⣿⣿⡿⠀⠀⠀⠀⠀⠀⠀⠀⢀⣾⣿⣿⣿⣇⠀⠀⠀⠀⠀⠀⠀⠀⣿⣿⣿⠀
|
|
||||||
⠀⣿⣿⡇⠀⠀⠀⠀⠀⠀⠀⢠⣿⣿⡟⢹⣿⣿⡆⠀⠀⠀⠀⠀⠀⠀⣹⣿⣿⠀
|
⠀⣿⣿⡇⠀⠀⠀⠀⠀⠀⠀⢠⣿⣿⡟⢹⣿⣿⡆⠀⠀⠀⠀⠀⠀⠀⣹⣿⣿⠀
|
||||||
⠀⣿⣿⣷⠀⠀⠀⠀⠀⠀⣰⣿⣿⠏⠀⠀⢻⣿⣿⡄⠀⠀⠀⠀⠀⠀⣿⣿⡿⠀
|
⠀⣿⣿⣷⠀⠀⠀⠀⠀⠀⣰⣿⣿⠏⠀⠀⢻⣿⣿⡄⠀⠀⠀⠀⠀⠀⣿⣿⡿⠀
|
||||||
⠀⢸⣿⣿⡆⠀⠀⠀⠀⣴⣿⡿⠃⠀⠀⠀⠈⢿⣿⣷⣤⣤⡆⠀⠀⣰⣿⣿⠇⠀
|
⠀⢸⣿⣿⡆⠀⠀⠀⠀⣴⣿⡿⠃⠀⠀⠀⠈⢿⣿⣷⣤⣤⡆⠀⠀⣰⣿⣿⠇⠀
|
||||||
|
@ -26,6 +24,8 @@
|
||||||
|
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
|
security.pam.services.swaylock = {};
|
||||||
|
|
||||||
hardware.opengl = {
|
hardware.opengl = {
|
||||||
enable = true;
|
enable = true;
|
||||||
driSupport = true;
|
driSupport = true;
|
||||||
|
@ -42,7 +42,7 @@
|
||||||
|
|
||||||
nvidiaSettings = true;
|
nvidiaSettings = true;
|
||||||
|
|
||||||
package = config.boot.kernelPackages.nvidiaPackages.stable;
|
package = config.boot.kernelPackages.nvidiaPackages.production;
|
||||||
};
|
};
|
||||||
|
|
||||||
hardware.bluetooth = {
|
hardware.bluetooth = {
|
||||||
|
@ -82,12 +82,12 @@
|
||||||
# };
|
# };
|
||||||
|
|
||||||
# Enable the X11 windowing system.
|
# Enable the X11 windowing system.
|
||||||
services.xserver.enable = true;
|
#services.xserver.enable = true;
|
||||||
services.xserver.displayManager.gdm.enable = true;
|
#services.xserver.displayManager.gdm.enable = true;
|
||||||
#services.xserver.displayManager.sddm.enable = true;
|
#services.xserver.displayManager.ly.enable = true;
|
||||||
services.xserver.desktopManager.plasma5.enable = true;
|
#services.xserver.desktopManager.gnome.enable = true;
|
||||||
services.xserver.displayManager.defaultSession = "plasmawayland";
|
#services.xserver.displayManager.defaultSession = "plasmawayland";
|
||||||
services.xserver.videoDrivers = ["nvidia"];
|
#services.xserver.videoDrivers = ["nvidia"];
|
||||||
|
|
||||||
services.blueman.enable = true;
|
services.blueman.enable = true;
|
||||||
|
|
||||||
|
@ -129,6 +129,13 @@
|
||||||
neovim
|
neovim
|
||||||
gcc13
|
gcc13
|
||||||
cargo
|
cargo
|
||||||
|
sway
|
||||||
|
swaylock
|
||||||
|
swaylock-effects
|
||||||
|
tofi
|
||||||
|
waybar
|
||||||
|
wl-clipboard
|
||||||
|
wdisplays
|
||||||
];
|
];
|
||||||
|
|
||||||
# Some programs need SUID wrappers, can be configured further or are
|
# Some programs need SUID wrappers, can be configured further or are
|
||||||
|
|
Loading…
Reference in a new issue