nixos-config/ahrc-laptop/home.nix

78 lines
2 KiB
Nix
Raw Normal View History

2024-10-10 21:15:27 +02:00
{ pkgs, ... }:
{
2024-09-30 14:40:45 +02:00
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;
2024-10-01 18:39:03 +02:00
input.kb_layout = "fr";
2024-09-30 14:40:45 +02:00
input.touchpad = {
disable_while_typing = false;
natural_scroll = true;
};
2024-09-30 14:40:45 +02:00
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"
];
};
};
2024-10-10 21:15:27 +02:00
programs.niri = {
enable = true;
package = pkgs.niri;
2024-10-12 14:47:10 +02:00
settings = {
input = {
keyboard.xkb.layout = "fr";
touchpad = {
tap = true;
natural-scroll = true;
accel-profile = "flat";
};
mouse.accel-profile = "flat";
warp-mouse-to-focus = true;
focus-follows-mouse.max-scroll-amount = "0%";
};
outputs."eDP-1" = { scale = 1; };
layout = {
gaps = 10;
focus-ring = {
width = 4;
active.color = "#10f810bb";
inactive.color = "#80808080";
};
};
prefer-no-csd = true;
screenshot-path = "~/screenshots/%Y%m%d%H%m%N.png";
binds = {
2024-10-11 22:50:08 +02:00
2024-10-12 14:47:10 +02:00
};
};
};
}