Refactor modules style

This commit is contained in:
Julia Lange 2024-04-07 17:08:48 -07:00
parent 13a4fa146f
commit 30810224f0
44 changed files with 455 additions and 297 deletions

View file

@ -0,0 +1,11 @@
{ config, pkgs, lib, ... }:
{
options = {
input-remapper.enable = lib.mkEnableOption "Enables input-remapper";
};
config = lib.mkIf config.input-remapper.enable {
services.input-remapper.enable = true;
};
}