From c2486f6c829cbf4540eaffd8f51fe10b4ac785c6 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Thu, 20 Mar 2025 09:55:20 +0100 Subject: [PATCH] refactor: fix formatting and ensure consistent style - Adjusted formatting in Nix files by revising argument lists. - Added missing commas for consistency. - Removed extraneous whitespace and ensured uniform newline usage. --- modules/home/gui/kbd/default.nix | 4 ++-- modules/nixos/system/limits/default.nix | 11 ++++------- systems/x86_64-linux/sgx/acme.nix | 5 +++-- systems/x86_64-linux/sgx/nginx.nix | 5 +++-- 4 files changed, 12 insertions(+), 13 deletions(-) diff --git a/modules/home/gui/kbd/default.nix b/modules/home/gui/kbd/default.nix index b404878..10bd3e2 100644 --- a/modules/home/gui/kbd/default.nix +++ b/modules/home/gui/kbd/default.nix @@ -15,11 +15,11 @@ in key { [ period, greater, ellipsis, division ] }; }; ''; - + xdg.configFile."xkb/rules/evdev".text = '' ! option = symbols mod:ellipsis = +mod(ellipsis) ! include %S/evdev ''; }; -} \ No newline at end of file +} diff --git a/modules/nixos/system/limits/default.nix b/modules/nixos/system/limits/default.nix index 6dbebc2..8563507 100644 --- a/modules/nixos/system/limits/default.nix +++ b/modules/nixos/system/limits/default.nix @@ -1,9 +1,6 @@ -{ - options, - config, - lib, - pkgs, - ... +{ config +, lib +, ... }: with lib; with lib.metacfg; @@ -43,4 +40,4 @@ in } ]; }; -} \ No newline at end of file +} diff --git a/systems/x86_64-linux/sgx/acme.nix b/systems/x86_64-linux/sgx/acme.nix index f3ed939..6aac08b 100644 --- a/systems/x86_64-linux/sgx/acme.nix +++ b/systems/x86_64-linux/sgx/acme.nix @@ -1,5 +1,6 @@ -{ config -, ... +{ + config, + ... }: { sops.secrets.internetbs = { diff --git a/systems/x86_64-linux/sgx/nginx.nix b/systems/x86_64-linux/sgx/nginx.nix index 96a7761..86b7b9a 100644 --- a/systems/x86_64-linux/sgx/nginx.nix +++ b/systems/x86_64-linux/sgx/nginx.nix @@ -1,5 +1,6 @@ -{ config -, ... +{ + config, + ... }: { users.users.nginx.extraGroups = [ "acme" ];