mirror of
https://github.com/elwrcl/copnix.git
synced 2026-10-31 06:18:03 +03:00
add: binds,bash,encode'decode
This commit is contained in:
1 parent
e437edf806
commit
e10bfd7c79
8 files changed
+172
-130
No files matched your search
+21
-14
@@ -8,20 +8,28 @@
|
|||||||
home.stateVersion = "25.05";
|
home.stateVersion = "25.05";
|
||||||
|
|
||||||
programs.zsh = {
|
programs.zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableCompletion = true;
|
enableCompletion = true;
|
||||||
autosuggestion.enable = true;
|
autosuggestion.enable = true;
|
||||||
syntaxHighlighting.enable = true;
|
syntaxHighlighting.enable = true;
|
||||||
initContent = builtins.readFile ./dots/zsh/.zshrc;
|
initContent = builtins.readFile ./dots/zsh/.zshrc;
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.kitty = {
|
programs.alacritty = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
shell = "zsh";
|
window = {
|
||||||
confirm_os_window_close = 0;
|
padding = { x = 10; y = 10; };
|
||||||
background_opacity = "0.8";
|
opacity = 0.8;
|
||||||
cursor_trail = 3;
|
blur = true;
|
||||||
|
};
|
||||||
|
font = {
|
||||||
|
normal = { family = "JetBrainsMono Nerd Font"; style = "Regular"; };
|
||||||
|
bold = { family = "JetBrainsMono Nerd Font"; style = "Bold"; };
|
||||||
|
italic = { family = "JetBrainsMono Nerd Font"; style = "Italic"; };
|
||||||
|
size = 11.0;
|
||||||
|
};
|
||||||
|
terminal.shell = "zsh";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -30,11 +38,10 @@
|
|||||||
"fish/conf.d".source = ./dots/fish/conf.d;
|
"fish/conf.d".source = ./dots/fish/conf.d;
|
||||||
};
|
};
|
||||||
|
|
||||||
# Packs
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
eza bat fzf fd micro fastfetch starship
|
eza bat fzf fd micro fastfetch starship
|
||||||
vulkan-tools libva-utils mesa-demos intel-gpu-tools clinfo
|
vulkan-tools libva-utils mesa-demos intel-gpu-tools clinfo
|
||||||
nerd-fonts.symbols-only
|
nerd-fonts.symbols-only zoxide trash-cli rsync
|
||||||
|
|
||||||
inputs.apple-fonts.packages.${system}.sf-pro
|
inputs.apple-fonts.packages.${system}.sf-pro
|
||||||
inputs.apple-fonts.packages.${system}.sf-mono
|
inputs.apple-fonts.packages.${system}.sf-mono
|
||||||
@@ -42,7 +49,7 @@
|
|||||||
|
|
||||||
programs.starship.enable = true;
|
programs.starship.enable = true;
|
||||||
programs.fzf.enable = true;
|
programs.fzf.enable = true;
|
||||||
|
programs.zoxide.enable = true;
|
||||||
programs.home-manager.enable = true;
|
programs.home-manager.enable = true;
|
||||||
fonts.fontconfig.enable = true;
|
fonts.fontconfig.enable = true;
|
||||||
services.kdeconnect.enable = true;
|
}
|
||||||
}
|
|
||||||
+33
-45
@@ -1,13 +1,7 @@
|
|||||||
# elarsın muhtesem configi
|
# elarsın muhtesem configi 1.04.2026
|
||||||
eval "$(starship init zsh)"
|
eval "$(starship init zsh)"
|
||||||
|
eval "$(zoxide init zsh)"
|
||||||
|
|
||||||
# deps
|
|
||||||
#source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
|
|
||||||
#source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
|
||||||
|
|
||||||
# FZF
|
|
||||||
#source /usr/share/fzf/key-bindings.zsh
|
|
||||||
#source /usr/share/fzf/completion.zsh
|
|
||||||
export FZF_DEFAULT_OPTS='--height 40% --layout=reverse --border'
|
export FZF_DEFAULT_OPTS='--height 40% --layout=reverse --border'
|
||||||
export FZF_DEFAULT_COMMAND='fd --type f --hidden --follow --exclude .git'
|
export FZF_DEFAULT_COMMAND='fd --type f --hidden --follow --exclude .git'
|
||||||
|
|
||||||
@@ -16,6 +10,7 @@ alias ls='eza --icons --group-directories-first'
|
|||||||
alias ll='eza -lah --icons --group-directories-first'
|
alias ll='eza -lah --icons --group-directories-first'
|
||||||
alias la='eza -a --icons --group-directories-first'
|
alias la='eza -a --icons --group-directories-first'
|
||||||
alias lt='eza --tree --level=2 --icons'
|
alias lt='eza --tree --level=2 --icons'
|
||||||
|
alias cd='z'
|
||||||
|
|
||||||
# allias extra
|
# allias extra
|
||||||
alias cat='bat'
|
alias cat='bat'
|
||||||
@@ -24,19 +19,10 @@ alias df='df -h'
|
|||||||
alias du='du -h'
|
alias du='du -h'
|
||||||
alias free='free -h'
|
alias free='free -h'
|
||||||
|
|
||||||
alias nano='micro'
|
# safety first
|
||||||
alias edit='micro'
|
alias cp='cp -i'
|
||||||
export EDITOR=micro
|
alias mv='mv -i'
|
||||||
export VISUAL=micro
|
alias rm='trash-put'
|
||||||
export SUDO_EDITOR=micro
|
|
||||||
|
|
||||||
# arch shit
|
|
||||||
#alias update='sudo pacman -Syu'
|
|
||||||
#alias install='sudo pacman -S'
|
|
||||||
#alias remove='sudo pacman -Rns'
|
|
||||||
#alias search='pacman -Ss'
|
|
||||||
#alias orphans='sudo pacman -Rns $(pacman -Qtdq)'
|
|
||||||
#alias mirrors='sudo reflector --verbose --latest 10 --sort rate --save /etc/pacman.d/mirrorlist'
|
|
||||||
|
|
||||||
# system
|
# system
|
||||||
alias sysinfo='fastfetch'
|
alias sysinfo='fastfetch'
|
||||||
@@ -51,6 +37,27 @@ alias ....='cd ../../..'
|
|||||||
alias ~='cd ~'
|
alias ~='cd ~'
|
||||||
alias -- -='cd -'
|
alias -- -='cd -'
|
||||||
|
|
||||||
|
extract() {
|
||||||
|
if [ -f $1 ] ; then
|
||||||
|
case $1 in
|
||||||
|
*.tar.bz2) tar xjf $1 ;;
|
||||||
|
*.tar.gz) tar xzf $1 ;;
|
||||||
|
*.bz2) bunzip2 $1 ;;
|
||||||
|
*.rar) unrar e $1 ;;
|
||||||
|
*.gz) gunzip $1 ;;
|
||||||
|
*.tar) tar xf $1 ;;
|
||||||
|
*.tbz2) tar xjf $1 ;;
|
||||||
|
*.tgz) tar xzf $1 ;;
|
||||||
|
*.zip) unzip $1 ;;
|
||||||
|
*.Z) uncompress $1 ;;
|
||||||
|
*.7z) 7z x $1 ;;
|
||||||
|
*) echo "'$1' can't be extracted" ;;
|
||||||
|
esac
|
||||||
|
else
|
||||||
|
echo "'$1' is not a valid file"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
# git
|
# git
|
||||||
alias gs='git status'
|
alias gs='git status'
|
||||||
alias ga='git add'
|
alias ga='git add'
|
||||||
@@ -58,39 +65,20 @@ alias gc='git commit -m'
|
|||||||
alias gp='git push'
|
alias gp='git push'
|
||||||
alias gl='git log --oneline --graph --decorate'
|
alias gl='git log --oneline --graph --decorate'
|
||||||
|
|
||||||
# confs
|
# history settings ...
|
||||||
alias zshrc='micro ~/.zshrc'
|
|
||||||
alias reload='source ~/.zshrc'
|
|
||||||
|
|
||||||
# history
|
|
||||||
HISTSIZE=10000
|
HISTSIZE=10000
|
||||||
SAVEHIST=10000
|
SAVEHIST=10000
|
||||||
HISTFILE=~/.zsh_history
|
HISTFILE=~/.zsh_history
|
||||||
setopt HIST_IGNORE_DUPS
|
setopt HIST_IGNORE_DUPS
|
||||||
setopt HIST_IGNORE_SPACE
|
|
||||||
setopt SHARE_HISTORY
|
setopt SHARE_HISTORY
|
||||||
|
|
||||||
# completion
|
# completion ...
|
||||||
autoload -Uz compinit
|
autoload -Uz compinit
|
||||||
compinit
|
compinit
|
||||||
zstyle ':completion:*' menu select
|
zstyle ':completion:*' menu select
|
||||||
zstyle ':completion:*' matcher-list 'm:{a-z}={A-Za-z}'
|
|
||||||
setopt AUTO_CD
|
setopt AUTO_CD
|
||||||
|
|
||||||
# intro
|
# mesa settings
|
||||||
if [[ -o interactive ]]; then
|
|
||||||
~/.config/fastfetch/fastfetch_kayan.sh
|
|
||||||
fi
|
|
||||||
|
|
||||||
# colors
|
|
||||||
export CLICOLOR=1
|
|
||||||
export LS_COLORS='di=34:ln=35:so=32:pi=33:ex=31:bd=34;46:cd=34;43:su=30;41:sg=30;46:tw=30;42:ow=30;43'
|
|
||||||
|
|
||||||
# sdkman
|
|
||||||
export SDKMAN_DIR="$HOME/.sdkman"
|
|
||||||
[[ -s "$HOME/.sdkman/bin/sdkman-init.sh" ]] && source "$HOME/.sdkman/bin/sdkman-init.sh"
|
|
||||||
|
|
||||||
#mesa
|
|
||||||
export MESA_SHADER_CACHE_MAX_SIZE=2G
|
export MESA_SHADER_CACHE_MAX_SIZE=2G
|
||||||
export MESA_SHADER_CACHE_DIR=/tmp/mesa_shader_cache
|
export MESA_GL_VERSION_OVERRIDE=4.6
|
||||||
export PATH="$HOME/.local/bin:$PATH"
|
export MESA_GLSL_VERSION_OVERRIDE=460
|
||||||
@@ -11,7 +11,7 @@
|
|||||||
"GDK_BACKEND,wayland,x11"
|
"GDK_BACKEND,wayland,x11"
|
||||||
"QT_QPA_PLATFORM,wayland;xcb"
|
"QT_QPA_PLATFORM,wayland;xcb"
|
||||||
"ELECTRON_OZONE_PLATFORM_HINT,auto"
|
"ELECTRON_OZONE_PLATFORM_HINT,auto"
|
||||||
"TERMINAL,kitty"
|
"TERMINAL,alacritty"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@@ -1,45 +1,62 @@
|
|||||||
{ ... }:
|
{ ... }:
|
||||||
|
|
||||||
{
|
let
|
||||||
|
# Noctalia IPC shortcut
|
||||||
|
ipc = "noctalia-shell ipc call";
|
||||||
|
in {
|
||||||
wayland.windowManager.hyprland.settings = {
|
wayland.windowManager.hyprland.settings = {
|
||||||
"$mainMod" = "SUPER";
|
"$mainMod" = "SUPER";
|
||||||
|
|
||||||
bindr = [
|
bindr = [
|
||||||
"$mainMod, SUPER_L, exec, pkill fuzzel || fuzzel"
|
"$mainMod, SUPER_L, exec, ${ipc} launcher toggle"
|
||||||
];
|
];
|
||||||
|
|
||||||
bind = [
|
bind = [
|
||||||
# launchers
|
# ── Workspace Navigation ─────────────────────────────────────────────
|
||||||
"$mainMod, Return, exec, kitty"
|
"CTRL $mainMod, right, workspace, r+1"
|
||||||
"$mainMod, W, exec, zen"
|
"CTRL $mainMod, left, workspace, r-1"
|
||||||
"$mainMod, C, exec, zed"
|
|
||||||
"$mainMod, E, exec, dolphin"
|
|
||||||
"$mainMod, R, exec, pkill fuzzel || fuzzel"
|
|
||||||
|
|
||||||
# window management
|
# ── Noctalia Interface ───────────────────────────────────────────────
|
||||||
"$mainMod, Q, killactive"
|
"$mainMod, Tab, exec, ${ipc} launcher windows" # overview
|
||||||
"$mainMod ALT, SPACE, togglefloating"
|
"$mainMod, P, exec, ${ipc} bar toggle" # hide bar
|
||||||
"$mainMod, F, fullscreen, 0"
|
"CTRL ALT, Delete, exec, ${ipc} sessionMenu toggle" # power menu
|
||||||
"$mainMod, D, fullscreen, 1"
|
|
||||||
"$mainMod, P, pin"
|
|
||||||
|
|
||||||
# lock
|
# ── Screenshot / OCR / Google Lens (screen-shot-and-record plugin) ──
|
||||||
"$mainMod, L, exec, loginctl lock-session"
|
"$mainMod SHIFT, S, exec, ${ipc} plugin:screen-shot-and-record screenshot"
|
||||||
"$mainMod SHIFT, L, exec, systemctl suspend"
|
"$mainMod SHIFT, Z, exec, ${ipc} plugin:screen-shot-and-record search" # google lens
|
||||||
|
"$mainMod SHIFT, X, exec, ${ipc} plugin:screen-shot-and-record ocr" # ocr
|
||||||
|
"$mainMod SHIFT, C, exec, ${ipc} plugin:music panel" # music recognition
|
||||||
|
|
||||||
# focus
|
# ── App Launchers ────────────────────────────────────────────────────
|
||||||
"$mainMod, left, movefocus, l"
|
"$mainMod, Return, exec, kitty"
|
||||||
"$mainMod, right, movefocus, r"
|
"$mainMod, W, exec, zen"
|
||||||
"$mainMod, up, movefocus, u"
|
"$mainMod, E, exec, dolphin"
|
||||||
"$mainMod, down, movefocus, d"
|
"$mainMod, Z, exec, zed"
|
||||||
|
"$mainMod ALT, V, exec, pavucontrol"
|
||||||
|
"$mainMod SHIFT, V, exec, ${ipc} launcher clipboard"
|
||||||
|
"$mainMod SHIFT, L, exec, ${ipc} lockScreen lock"
|
||||||
|
"CTRL ALT, Escape, exec, kitty -e btop"
|
||||||
|
|
||||||
# windows drag
|
# ── Window Management ────────────────────────────────────────────────
|
||||||
|
"$mainMod, Q, killactive"
|
||||||
|
"$mainMod ALT, SPACE, togglefloating"
|
||||||
|
"$mainMod, F, fullscreen, 0"
|
||||||
|
"$mainMod, D, fullscreen, 1"
|
||||||
|
"$mainMod ALT, P, pin"
|
||||||
|
|
||||||
|
# ── Focus ────────────────────────────────────────────────────────────
|
||||||
|
"$mainMod, left, movefocus, l"
|
||||||
|
"$mainMod, right, movefocus, r"
|
||||||
|
"$mainMod, up, movefocus, u"
|
||||||
|
"$mainMod, down, movefocus, d"
|
||||||
|
|
||||||
|
# ── Move Windows ─────────────────────────────────────────────────────
|
||||||
"$mainMod SHIFT, left, movewindow, l"
|
"$mainMod SHIFT, left, movewindow, l"
|
||||||
"$mainMod SHIFT, right, movewindow, r"
|
"$mainMod SHIFT, right, movewindow, r"
|
||||||
"$mainMod SHIFT, up, movewindow, u"
|
"$mainMod SHIFT, up, movewindow, u"
|
||||||
"$mainMod SHIFT, down, movewindow, d"
|
"$mainMod SHIFT, down, movewindow, d"
|
||||||
|
|
||||||
# workspaces
|
# ── Workspaces ───────────────────────────────────────────────────────
|
||||||
"$mainMod, 1, workspace, 1"
|
"$mainMod, 1, workspace, 1"
|
||||||
"$mainMod, 2, workspace, 2"
|
"$mainMod, 2, workspace, 2"
|
||||||
"$mainMod, 3, workspace, 3"
|
"$mainMod, 3, workspace, 3"
|
||||||
@@ -51,7 +68,7 @@
|
|||||||
"$mainMod, 9, workspace, 9"
|
"$mainMod, 9, workspace, 9"
|
||||||
"$mainMod, 0, workspace, 10"
|
"$mainMod, 0, workspace, 10"
|
||||||
|
|
||||||
# moveworkspace
|
# ── Move to Workspace ────────────────────────────────────────────────
|
||||||
"$mainMod SHIFT, 1, movetoworkspace, 1"
|
"$mainMod SHIFT, 1, movetoworkspace, 1"
|
||||||
"$mainMod SHIFT, 2, movetoworkspace, 2"
|
"$mainMod SHIFT, 2, movetoworkspace, 2"
|
||||||
"$mainMod SHIFT, 3, movetoworkspace, 3"
|
"$mainMod SHIFT, 3, movetoworkspace, 3"
|
||||||
@@ -63,41 +80,42 @@
|
|||||||
"$mainMod SHIFT, 9, movetoworkspace, 9"
|
"$mainMod SHIFT, 9, movetoworkspace, 9"
|
||||||
"$mainMod SHIFT, 0, movetoworkspace, 10"
|
"$mainMod SHIFT, 0, movetoworkspace, 10"
|
||||||
|
|
||||||
# s-workspace
|
# ── Special Workspace (scratchpad) ───────────────────────────────────
|
||||||
"$mainMod, S, togglespecialworkspace"
|
"$mainMod, S, togglespecialworkspace"
|
||||||
"$mainMod ALT, S, movetoworkspacesilent, special"
|
"$mainMod ALT, S, movetoworkspacesilent, special"
|
||||||
|
|
||||||
# scrolling
|
# ── Mouse Workspace Scroll ───────────────────────────────────────────
|
||||||
"$mainMod, mouse_up, workspace, +1"
|
"$mainMod, mouse_up, workspace, +1"
|
||||||
"$mainMod, mouse_down, workspace, -1"
|
"$mainMod, mouse_down, workspace, -1"
|
||||||
|
|
||||||
# screenshot
|
# ── Media ────────────────────────────────────────────────────────────
|
||||||
"Super, Print, exec, grim - | wl-copy"
|
"$mainMod SHIFT, N, exec, playerctl next"
|
||||||
"Super SHIFT, S, exec, grim -g \"$(slurp)\" - | wl-copy"
|
"$mainMod SHIFT, B, exec, playerctl previous"
|
||||||
|
"$mainMod SHIFT, P, exec, playerctl play-pause"
|
||||||
];
|
];
|
||||||
|
|
||||||
# scaling w-mouse
|
# --- Mouse drag / resize ---
|
||||||
bindm = [
|
bindm = [
|
||||||
"$mainMod, mouse:272, movewindow"
|
"$mainMod, mouse:272, movewindow"
|
||||||
"$mainMod, mouse:273, resizewindow"
|
"$mainMod, mouse:273, resizewindow"
|
||||||
];
|
];
|
||||||
|
|
||||||
# volume
|
# --- Volume / Brightness (repeat) ---
|
||||||
bindel = [
|
bindel = [
|
||||||
", XF86AudioRaiseVolume, exec, wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+"
|
", XF86AudioRaiseVolume, exec, ${ipc} volume increase"
|
||||||
", XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-"
|
", XF86AudioLowerVolume, exec, ${ipc} volume decrease"
|
||||||
", XF86MonBrightnessUp, exec, brightnessctl -e4 -n2 set 5%+"
|
", XF86MonBrightnessUp, exec, ${ipc} brightness increase"
|
||||||
", XF86MonBrightnessDown, exec, brightnessctl -e4 -n2 set 5%-"
|
", XF86MonBrightnessDown, exec, ${ipc} brightness decrease"
|
||||||
];
|
];
|
||||||
|
|
||||||
# other
|
# --- Locked binds (media keys / mute) ---
|
||||||
bindl = [
|
bindl = [
|
||||||
", XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"
|
", XF86AudioMute, exec, ${ipc} volume muteOutput"
|
||||||
", XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_SOURCE@ toggle"
|
", XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_SOURCE@ toggle"
|
||||||
", XF86AudioNext, exec, playerctl next"
|
", XF86AudioNext, exec, playerctl next"
|
||||||
", XF86AudioPrev, exec, playerctl previous"
|
", XF86AudioPrev, exec, playerctl previous"
|
||||||
", XF86AudioPlay, exec, playerctl play-pause"
|
", XF86AudioPlay, exec, playerctl play-pause"
|
||||||
", XF86AudioPause, exec, playerctl play-pause"
|
", XF86AudioPause, exec, playerctl play-pause"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@@ -3,19 +3,26 @@
|
|||||||
{
|
{
|
||||||
wayland.windowManager.hyprland.settings = {
|
wayland.windowManager.hyprland.settings = {
|
||||||
windowrule = [
|
windowrule = [
|
||||||
"match:title ^(Open File)(.*)$, float on"
|
"float on, match:title ^(Open File)(.*)$"
|
||||||
"match:title ^(Open File)(.*)$, center on"
|
"center on, match:title ^(Open File)(.*)$"
|
||||||
"match:title ^(Save As)(.*)$, float on"
|
"float on, match:title ^(Save As)(.*)$"
|
||||||
"match:title ^(Save As)(.*)$, center on"
|
"center on, match:title ^(Save As)(.*)$"
|
||||||
"match:title ^(File Upload)(.*)$, float on"
|
"float on, match:title ^(File Upload)(.*)$"
|
||||||
"match:title ^(File Upload)(.*)$, center on"
|
"center on, match:title ^(File Upload)(.*)$"
|
||||||
"match:class ^(pavucontrol)$, float on"
|
"float on, match:class ^(pavucontrol)$"
|
||||||
"match:class ^(pavucontrol)$, center on"
|
"center on, match:class ^(pavucontrol)$"
|
||||||
"match:class ^(pavucontrol)$, size 45% 45%"
|
"size 45% 45%, match:class ^(pavucontrol)$"
|
||||||
"match:title ^([Pp]icture[-\\s]?[Ii]n[-\\s]?[Pp]icture)(.*)$, float on"
|
"float on, match:title ^([Pp]icture[-\\s]?[Ii]n[-\\s]?[Pp]icture)(.*)$"
|
||||||
"match:title ^([Pp]icture[-\\s]?[Ii]n[-\\s]?[Pp]icture)(.*)$, pin on"
|
"pin on, match:title ^([Pp]icture[-\\s]?[Ii]n[-\\s]?[Pp]icture)(.*)$"
|
||||||
"match:title ^([Pp]icture[-\\s]?[Ii]n[-\\s]?[Pp]icture)(.*)$, keep_aspect_ratio on"
|
"keepaspectratio on, match:title ^([Pp]icture[-\\s]?[Ii]n[-\\s]?[Pp]icture)(.*)$"
|
||||||
"match:class ^(steam_app).*, immediate on"
|
"immediate on, match:class ^(steam_app).*"
|
||||||
|
];
|
||||||
|
|
||||||
|
layerrule = [
|
||||||
|
"noanim, noctalia-shell:regionSelector"
|
||||||
|
"blur, noctalia-background-.*"
|
||||||
|
"ignorealpha 0.5, noctalia-background-.*"
|
||||||
|
"blurpopups, noctalia-background-.*"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@@ -1,23 +1,40 @@
|
|||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
|
let
|
||||||
|
wayland-intel-vaapi-driver = pkgs.intel-vaapi-driver.overrideAttrs (oldAttrs: {
|
||||||
|
version = "2.4.4-wayland-fix";
|
||||||
|
src = pkgs.fetchFromGitHub {
|
||||||
|
owner = "irql-notlessorequal";
|
||||||
|
repo = "intel-vaapi-driver";
|
||||||
|
rev = "929e936ec1f451a5daa12b0c7367687b712b8c2c";
|
||||||
|
hash = "sha256-tZ1rZ+4bRxarcFQhP8V2Mfz0sJ5rBgHYLu2ulrQwL+U=";
|
||||||
|
};
|
||||||
|
});
|
||||||
|
|
||||||
|
wayland-intel-vaapi-driver-32 = pkgs.pkgsi686Linux.intel-vaapi-driver.overrideAttrs (oldAttrs: {
|
||||||
|
version = "2.4.4-wayland-fix";
|
||||||
|
src = pkgs.fetchFromGitHub {
|
||||||
|
owner = "irql-notlessorequal";
|
||||||
|
repo = "intel-vaapi-driver";
|
||||||
|
rev = "929e936ec1f451a5daa12b0c7367687b712b8c2c";
|
||||||
|
hash = "sha256-tZ1rZ+4bRxarcFQhP8V2Mfz0sJ5rBgHYLu2ulrQwL+U=";
|
||||||
|
};
|
||||||
|
});
|
||||||
|
in
|
||||||
{
|
{
|
||||||
hardware.graphics.extraPackages = with pkgs; [
|
hardware.graphics.extraPackages = [
|
||||||
intel-vaapi-driver
|
wayland-intel-vaapi-driver
|
||||||
libvdpau-va-gl
|
pkgs.libvdpau-va-gl
|
||||||
intel-media-driver
|
|
||||||
];
|
];
|
||||||
|
|
||||||
hardware.graphics.extraPackages32 = with pkgs.pkgsi686Linux; [
|
hardware.graphics.extraPackages32 = [
|
||||||
intel-vaapi-driver
|
wayland-intel-vaapi-driver-32
|
||||||
libvdpau-va-gl
|
pkgs.pkgsi686Linux.libvdpau-va-gl
|
||||||
];
|
];
|
||||||
|
|
||||||
services.xserver.videoDrivers = [ "modesetting" ];
|
services.xserver.videoDrivers = [ "modesetting" ];
|
||||||
|
|
||||||
environment.variables = {
|
environment.variables = {
|
||||||
LIBVA_DRIVER_NAME = "i965";
|
LIBVA_DRIVER_NAME = "i965";
|
||||||
LIBVA_DRM_DEVICE = "/dev/dri/renderD128";
|
|
||||||
LIBVA_DISPLAY = "drm";
|
|
||||||
VK_ICD_FILENAMES = "/run/opengl-driver/share/vulkan/icd.d/intel_hasvk_icd.x86_64.json";
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
{ config, pkgs, ...}:
|
{ config, pkgs, ...}:
|
||||||
|
|
||||||
{
|
{
|
||||||
programs.kdeconnect.enable = true;
|
services.kdeconnect.enable = true;
|
||||||
}
|
}
|
||||||
@@ -135,6 +135,11 @@ with pkgs; {
|
|||||||
wofi
|
wofi
|
||||||
|
|
||||||
# Desktop tools
|
# Desktop tools
|
||||||
|
obs-studio
|
||||||
|
tesseract
|
||||||
|
jq
|
||||||
|
wf-recorder
|
||||||
|
yt-dlp
|
||||||
wl-clipboard
|
wl-clipboard
|
||||||
grim
|
grim
|
||||||
slurp
|
slurp
|
||||||
|
|||||||
Reference in new issue
Block a user