idiosyn/nixos/module/greedy.nix

18 lines
423 B
Nix
Raw Permalink Normal View History

2024-08-25 15:23:21 +02:00
{ self, ... }: { config, lib, pkgs, ... }:
let
inherit (self.packages.${pkgs.system}) greedy;
in {
services.xserver.xkb = {
layout = "greedy" |> lib.mkDefault;
options = greedy.xkbOptions
|> lib.concatStringsSep ","
|> lib.mkDefault;
extraLayouts.greedy = {
symbolsFiles = greedy;
description = "Greedy keyboard layout";
languages = [ "eng" "deu" "fra" "spa" ];
};
};
}