Compare commits
2 Commits
ce797e1a65
...
cf1470cb63
| Author | SHA1 | Date | |
|---|---|---|---|
| cf1470cb63 | |||
| 4962c1bb03 |
@ -65,6 +65,8 @@
|
|||||||
];
|
];
|
||||||
|
|
||||||
plugins = {
|
plugins = {
|
||||||
|
# Remeber where you left the file last time
|
||||||
|
lastplace.enable = true;
|
||||||
# Statusline at the bottom of the screen
|
# Statusline at the bottom of the screen
|
||||||
lualine.enable = true;
|
lualine.enable = true;
|
||||||
# Tab bar at the top of the screen
|
# Tab bar at the top of the screen
|
||||||
@ -84,7 +86,40 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
# Shows the current function/class context pinned at the top of the buffer
|
# Shows the current function/class context pinned at the top of the buffer
|
||||||
treesitter-context.enable = true;
|
treesitter-context = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
# Cap the context header
|
||||||
|
max_lines = 4;
|
||||||
|
# When over the limit, drop outermost context
|
||||||
|
trim_scope = "outer";
|
||||||
|
# Only show context in tall-enough windows
|
||||||
|
min_window_height = 20;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
# Provides autocompletion suggestions
|
||||||
|
blink-cmp = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
keymap.preset = "default"; # Tab/S-Tab to navigate, Enter to confirm
|
||||||
|
sources.default = ["lsp" "path" "snippets" "buffer"];
|
||||||
|
completion = {
|
||||||
|
documentation.auto_show = true;
|
||||||
|
ghost_text.enabled = true; # inline preview of the top suggestion
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
lsp = {
|
||||||
|
enable = true;
|
||||||
|
servers = {
|
||||||
|
nixd.enable = true; # Nix
|
||||||
|
ts_ls.enable = true; # TypeScript/JavaScript
|
||||||
|
# ... add more as needed
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
# Text objects based on treesitter nodes (e.g. select a function body)
|
# Text objects based on treesitter nodes (e.g. select a function body)
|
||||||
treesitter-textobjects.enable = true;
|
treesitter-textobjects.enable = true;
|
||||||
# Auto-closes and renames HTML/JSX tags using treesitter
|
# Auto-closes and renames HTML/JSX tags using treesitter
|
||||||
|
|||||||
@ -26,7 +26,8 @@ alias nix-clear="sudo nix-store --gc"
|
|||||||
|
|
||||||
#KDE Plasma Specific
|
#KDE Plasma Specific
|
||||||
#-----
|
#-----
|
||||||
alias kde-theme-apply="source $HOME/NixOS/plasma/konsave.sh"
|
alias plasma-snap="cp ~/.config/plasma-org.kde.plasma.desktop-appletsrc ~/appletsrc.snap"
|
||||||
|
alias plasma-diff="diff ~/appletsrc.snap ~/.config/plasma-org.kde.plasma.desktop-appletsrc"
|
||||||
|
|
||||||
#LaTeX Commands
|
#LaTeX Commands
|
||||||
alias makepdf="makeglossaries main && pdflatex main.tex"
|
alias makepdf="makeglossaries main && pdflatex main.tex"
|
||||||
|
|||||||
@ -9,7 +9,7 @@
|
|||||||
programs = {
|
programs = {
|
||||||
plasma = {
|
plasma = {
|
||||||
enable = true;
|
enable = true;
|
||||||
overrideConfig = true;
|
overrideConfig = false;
|
||||||
|
|
||||||
input.mice = [
|
input.mice = [
|
||||||
{
|
{
|
||||||
|
|||||||
@ -8,10 +8,9 @@
|
|||||||
}: {
|
}: {
|
||||||
programs = {
|
programs = {
|
||||||
plasma = {
|
plasma = {
|
||||||
overrideConfig = true;
|
|
||||||
|
|
||||||
panels = [
|
panels = [
|
||||||
{
|
{
|
||||||
|
screen = "all";
|
||||||
height = 44;
|
height = 44;
|
||||||
location = "bottom";
|
location = "bottom";
|
||||||
alignment = "center";
|
alignment = "center";
|
||||||
@ -111,7 +110,8 @@
|
|||||||
theme = "Win10OS-cursors";
|
theme = "Win10OS-cursors";
|
||||||
size = 24;
|
size = 24;
|
||||||
};
|
};
|
||||||
wallpaper = /home/${username}/${project}/other/wallpaper1.png;
|
# Do not use wallpaper option here as it causes issues! Use it in configFile
|
||||||
|
# wallpaper = /home/${username}/${project}/other/wallpaper1.png;
|
||||||
soundTheme = "ocean";
|
soundTheme = "ocean";
|
||||||
iconTheme = "We10X";
|
iconTheme = "We10X";
|
||||||
splashScreen = {
|
splashScreen = {
|
||||||
@ -122,6 +122,9 @@
|
|||||||
theme = "__aurorae__svg__Win11OS-dark";
|
theme = "__aurorae__svg__Win11OS-dark";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
configFile = {
|
||||||
|
plasmarc.Wallpapers.usersWallpapers = "/home/cookiez/NixOS/other/wallpaper1.png";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@ -8,10 +8,9 @@
|
|||||||
}: {
|
}: {
|
||||||
programs = {
|
programs = {
|
||||||
plasma = {
|
plasma = {
|
||||||
overrideConfig = true;
|
|
||||||
|
|
||||||
panels = [
|
panels = [
|
||||||
{
|
{
|
||||||
|
screen = "all";
|
||||||
height = 44;
|
height = 44;
|
||||||
location = "top";
|
location = "top";
|
||||||
alignment = "center";
|
alignment = "center";
|
||||||
@ -134,7 +133,8 @@
|
|||||||
theme = "Breeze_Light";
|
theme = "Breeze_Light";
|
||||||
size = 24;
|
size = 24;
|
||||||
};
|
};
|
||||||
wallpaper = /home/${username}/${project}/other/wallpaper3.png;
|
# Do not use wallpaper option here as it causes issues! Use it in configFile
|
||||||
|
# wallpaper = /home/${username}/${project}/other/wallpaper3.png;
|
||||||
soundTheme = "freedesktop";
|
soundTheme = "freedesktop";
|
||||||
iconTheme = "Breeze-LaCapitaine-apps";
|
iconTheme = "Breeze-LaCapitaine-apps";
|
||||||
splashScreen = {
|
splashScreen = {
|
||||||
|
|||||||
@ -23,8 +23,6 @@
|
|||||||
in {
|
in {
|
||||||
programs = {
|
programs = {
|
||||||
plasma = {
|
plasma = {
|
||||||
overrideConfig = true;
|
|
||||||
|
|
||||||
powerdevil = {
|
powerdevil = {
|
||||||
AC = {
|
AC = {
|
||||||
powerProfile = selectedProfile.AC.powerProfile;
|
powerProfile = selectedProfile.AC.powerProfile;
|
||||||
|
|||||||
Reference in New Issue
Block a user