diff --git a/nix/modules/nixos/desktop/default.nix b/nix/modules/nixos/desktop/default.nix index 75c3226..d1d7f40 100644 --- a/nix/modules/nixos/desktop/default.nix +++ b/nix/modules/nixos/desktop/default.nix @@ -7,6 +7,7 @@ ./i3.nix ./immich.nix ./jellyfin.nix + ./screenkey.nix ./xbanish.nix ]; } diff --git a/nix/modules/nixos/desktop/screenkey.nix b/nix/modules/nixos/desktop/screenkey.nix new file mode 100644 index 0000000..8068946 --- /dev/null +++ b/nix/modules/nixos/desktop/screenkey.nix @@ -0,0 +1,13 @@ +{ pkgs, username, ... }: + +{ + environment.systemPackages = with pkgs; [ screenkey ]; + + home-manager.users.${username}.xdg.configFile."screenkey.json".text = builtins.toJSON { + key_mode = "composed"; + mods_mode = "emacs"; + persist = true; + size = "small"; + timeout = 0.25; + }; +}