style: format code

This commit is contained in:
tux
2026-09-11 01:59:55 +05:30
parent 49a341d6b3
commit 344d8bdd4a
87 changed files with 2528 additions and 2719 deletions

View File

@@ -1,25 +1,21 @@
{ inputs, ... }:
{
flake.modules.homeManager.desktop =
{
config,
pkgs,
lib,
...
}:
with lib;
let
{inputs, ...}: {
flake.modules.homeManager.desktop = {
config,
pkgs,
lib,
...
}:
with lib; let
cfg = config.tnix.services.lan-mouse;
in
{
imports = [ inputs.lan-mouse.homeManagerModules.default ];
in {
imports = [inputs.lan-mouse.homeManagerModules.default];
options.tnix.services.lan-mouse = {
enable = mkEnableOption "Enable Lan-Mouse";
settings = mkOption {
type = (pkgs.formats.toml { }).type;
default = { };
type = (pkgs.formats.toml {}).type;
default = {};
description = ''
TOML configuration for lan-mouse.
See <https://github.com/feschber/lan-mouse/> for available options.
@@ -28,7 +24,6 @@
};
config = mkIf cfg.enable {
programs.lan-mouse = {
enable = true;
systemd = true;