nixos-config/ahrc-laptop/home.nix
2024-10-10 21:17:57 +02:00

50 lines
1.3 KiB
Nix

{ pkgs, ... }:
{
imports = [ ../common/home.nix ];
home.stateVersion = "24.05";
programs.zsh = {
localVariables = {
PROMPT = ''
(%F{green}%B%n@%m%f%b)(%F{blue}%B%50<...<%5~%<<%b%f)(%B%?%b)
(%B%j%b%# '';
};
};
wayland.windowManager.hyprland = {
settings = {
"$col_accentdark" = "rgb(00ff00)";
"$col_accentlight" = "rgb(80ff80)";
"$col_inactive" = "rgba(80808040)";
"$col_urgent" = "rgb(ffd966)";
animations = { enabled = false; };
decoration = {
inactive_opacity = 1.0;
drop_shadow = false;
blur.enabled = false;
};
gestures.workspace_swipe = true;
input.kb_layout = "fr";
input.touchpad = {
disable_while_typing = false;
natural_scroll = true;
};
misc.animate_manual_resizes = false;
bindel = [
", XF86AudioRaiseVolume, exec, swayosd-client --output-volume=raise"
", XF86AudioLowerVolume, exec, swayosd-client --output-volume=lower"
", XF86AudioMute, exec, swayosd-client --output-volume=mute-toggle"
", XF86MonBrightnessUp, exec, swayosd-client --brightness=raise"
", XF86MonBrightnessDown, exec, swayosd-client --brightness=lower"
];
};
};
programs.niri = {
enable = true;
package = pkgs.niri;
};
}