Remove the features directory

This commit is contained in:
Oliver Davies 2025-03-06 23:46:37 +00:00
parent 6585022138
commit 0f31678c52
57 changed files with 6 additions and 8 deletions

View file

@ -0,0 +1,25 @@
{
config,
lib,
pkgs,
username,
...
}:
with lib;
{
options.nixosModules.screenkey.enable = mkEnableOption "Enable screenkey";
config = mkIf config.nixosModules.screenkey.enable {
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;
};
};
}