This commit is contained in:
Hadi
2024-04-14 21:59:30 +02:00
parent 21ce99bfe8
commit 767e9d182d
16 changed files with 82 additions and 71 deletions

View File

@@ -55,6 +55,7 @@
wget
curl
ripgrep
tree # temp
# Just cool
peaclock

View File

@@ -1,4 +1,4 @@
{ self, pkgs, config, ... }: {
{ self, pkgs, config, hyprland, ... }: {
imports = [ ./hyprlock.nix ./hypridle.nix ./hyprpaper.nix ./hyprcursor.nix ];
@@ -25,6 +25,7 @@
wayland.windowManager.hyprland = {
enable = true;
xwayland.enable = true;
package = hyprland.packages."${pkgs.system}".hyprland;
settings = {
"$mod" = "SUPER";
@@ -97,7 +98,6 @@
"LIBVA_DRIVER_NAME,nvidia"
"__GLX_VENDOR_LIBRARY_NAME,nvidia"
"WLR_NO_HARDWARE_CURSORS,1"
"WLR_DRM_DEVICES,/dev/dri/card0:/dev/dri/card1"
"XDG_SESSION_TYPE,wayland"
"XDG_CURRENT_DESKTOP,Hyprland"
"XDG_SESSION_TYPE,wayland"

View File

@@ -2,8 +2,8 @@
home.packages = with pkgs; [ hyprcursor ];
# home.file.".local/share/icons/rose-pine-hyprcursor" = {
# recursive = true;
# source = ./rose-pine;
# };
# recursive = true;
# source = ./rose-pine;
#};
}

View File

@@ -23,8 +23,10 @@
programs.nixvim = {
enable = true;
colorschemes.catppuccin.enable = true;
colorschemes.catppuccin.transparentBackground = true;
colorschemes.catppuccin = {
enable = true;
settings = { transparentBackground = true; };
};
};
}

View File

@@ -1,6 +1,6 @@
{
programs.nixvim.plugins.gitsigns = {
enable = true;
currentLineBlame = false;
settings = { current_line_blame = false; };
};
}

View File

@@ -11,7 +11,6 @@
tailwindcss.enable = true;
html.enable = true;
svelte.enable = true;
pylsp.enable = true;
};
keymaps.lspBuf = {
"gd" = "definition";

View File

@@ -1,7 +1,7 @@
{
programs.nixvim.globals.mapleader = " ";
programs.nixvim.options = {
programs.nixvim.opts = {
updatetime = 50; # Faster completion
number = true;

View File

@@ -3,10 +3,10 @@
enable = true;
keymaps = {
"<leader>fg" = "live_grep";
"<C-p>" = {
action = "git_files";
desc = "Telescope Git Files";
};
#"<C-p>" = {
# action = "git_files";
# desc = "Telescope Git Files";
#};
};
extensions.fzf-native = { enable = true; };
};

View File

@@ -1,7 +1,9 @@
{
programs.nixvim.plugins.toggleterm = {
enable = true;
openMapping = "<C-t>";
direction = "horizontal";
settings = {
open_mapping = "[[<c-t>]]";
direction = "horizontal";
};
};
}

View File

@@ -31,6 +31,7 @@
hyprland = "https://wiki.hyprland.org/";
nerdfont = "https://www.nerdfonts.com/cheat-sheet";
youtube = "https://youtube.com/";
cloudflare = "https://dash.cloudflare.com/";
};
settings = {
@@ -160,6 +161,8 @@
};
zoom.default = "100%";
qt.force_software_rendering = "chromium";
};
keyBindings = {

View File

@@ -9,6 +9,7 @@
oxk = { path = "/home/hadi/.ssh/oxserver"; };
gk = { path = "/home/hadi/.ssh/github"; };
glk = { path = "/home/hadi/.ssh/gitlab"; };
silicon = { path = "/home/hadi/.ssh/silicon"; };
};
};