flocon/home/programs/niri/default.nix

34 lines
626 B
Nix
Raw Normal View History

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