diff --git a/ahrc-laptop/home.nix b/ahrc-laptop/home.nix index 8806ddc..19c0372 100644 --- a/ahrc-laptop/home.nix +++ b/ahrc-laptop/home.nix @@ -46,7 +46,32 @@ programs.niri = { enable = true; package = pkgs.niri; - }; + 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 = { - systemd.user.services.niri = { wants = [ "mako" ]; }; + }; + }; + }; } diff --git a/common/home.nix b/common/home.nix index bd09442..0979a43 100644 --- a/common/home.nix +++ b/common/home.nix @@ -51,24 +51,7 @@ }; }; - xdg.portal.config = { - common.default = [ "gtk" "gnome" ]; - "org.freedesktop.impl.portal.Secret" = [ "gnome-keyring" ]; - }; - systemd.user.services.polkit-gnome-authentication-agent-1 = { - description = "polkit-gnome-authentication-agent-1"; - wantedBy = [ "graphical-session.target" ]; - wants = [ "graphical-session.target" ]; - after = [ "graphical-session.target" ]; - serviceConfig = { - Type = "simple"; - ExecStart = - "${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1"; - Restart = "on-failure"; - RestartSec = 1; - TimeoutStopSec = 10; - }; - }; + xdg.portal.config.common.default = [ "gtk" "gnome" ]; services.ssh-agent.enable = true;