2024-10-02 14:45:43 +00:00
|
|
|
{
|
2024-10-06 10:15:21 +00:00
|
|
|
inputs,
|
2024-10-02 14:45:43 +00:00
|
|
|
config,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}: let
|
2024-10-06 10:15:21 +00:00
|
|
|
schemeData = inputs.basix.schemeData.base16.${config.theme.scheme};
|
2024-10-02 14:45:43 +00:00
|
|
|
in {
|
2024-10-06 10:15:21 +00:00
|
|
|
imports = [./binds.nix];
|
2024-10-02 14:45:43 +00:00
|
|
|
programs.niri = {
|
|
|
|
settings = {
|
|
|
|
environment."NIXOS_OZONE_WL" = "1";
|
|
|
|
prefer-no-csd = true;
|
2024-10-02 15:28:07 +00:00
|
|
|
|
2024-10-02 14:45:43 +00:00
|
|
|
window-rules = [
|
|
|
|
{
|
|
|
|
matches = [
|
|
|
|
{app-id = "foot";}
|
|
|
|
];
|
|
|
|
default-column-width = {proportion = 0.5;};
|
|
|
|
}
|
|
|
|
];
|
2024-10-02 15:28:07 +00:00
|
|
|
|
2024-10-06 10:15:21 +00:00
|
|
|
layout = {
|
|
|
|
border.active = pkgs.lib.rgba schemeData.palette.base0E;
|
2024-10-02 15:28:07 +00:00
|
|
|
};
|
2024-10-07 16:43:00 +00:00
|
|
|
input.keyboard.xkb = {
|
|
|
|
layout = "us";
|
|
|
|
options = "compose:ralt";
|
|
|
|
};
|
2024-10-02 14:45:43 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|