mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 09:07:21 +01:00
feat: niri, new winters ip, mail fixes
This commit is contained in:
parent
6ea3851e72
commit
915bf256da
61 changed files with 1814 additions and 965 deletions
23
modules/nixos/client/keyd.nix
Normal file
23
modules/nixos/client/keyd.nix
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{ lib, config, ... }:
|
||||
let
|
||||
moduleName = "keyd";
|
||||
in
|
||||
{
|
||||
options.swarselmodules.${moduleName} = lib.mkEnableOption "${moduleName} tools config";
|
||||
config = lib.mkIf config.swarselmodules.${moduleName} {
|
||||
services.keyd = {
|
||||
enable = true;
|
||||
keyboards = {
|
||||
default = {
|
||||
ids = [ "*" ];
|
||||
settings = {
|
||||
main = {
|
||||
leftmeta = "overload(meta, macro(rightmeta+z))";
|
||||
rightmeta = "overload(meta, macro(rightmeta+z))";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue