From 9e3f4268c87b0d1a64e9429ea173252a5f774ec5 Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Sun, 19 Feb 2023 21:35:36 +0300 Subject: 2023-02-19 --- modules/nixos/android.nix | 2 -- modules/nixos/bluetooth.nix | 1 - modules/nixos/common/nix.nix | 1 - modules/nixos/common/security.nix | 6 +----- modules/nixos/endlessh.nix | 1 - modules/nixos/matrix/synapse.nix | 1 - modules/nixos/monitoring/default.nix | 1 - modules/nixos/openssh.nix | 1 - modules/nixos/postgresql.nix | 6 ++++++ modules/nixos/profiles/default.nix | 1 - modules/nixos/profiles/dev/default.nix | 2 -- modules/nixos/profiles/headful.nix | 1 - modules/nixos/profiles/headless.nix | 1 - modules/nixos/syncthing.nix | 1 - modules/nixos/x11.nix | 1 - modules/nixos/xmonad.nix | 1 - 16 files changed, 7 insertions(+), 21 deletions(-) (limited to 'modules/nixos') diff --git a/modules/nixos/android.nix b/modules/nixos/android.nix index 307490a..41b7ef9 100644 --- a/modules/nixos/android.nix +++ b/modules/nixos/android.nix @@ -1,8 +1,6 @@ { config, lib, - inputs, - pkgs, ... }: with lib; let diff --git a/modules/nixos/bluetooth.nix b/modules/nixos/bluetooth.nix index 76131bf..26d081d 100644 --- a/modules/nixos/bluetooth.nix +++ b/modules/nixos/bluetooth.nix @@ -1,7 +1,6 @@ { config, lib, - pkgs, ... }: with lib; let diff --git a/modules/nixos/common/nix.nix b/modules/nixos/common/nix.nix index 48c52b3..efebe97 100644 --- a/modules/nixos/common/nix.nix +++ b/modules/nixos/common/nix.nix @@ -2,7 +2,6 @@ config, inputs, lib, - this, ... }: with lib; let diff --git a/modules/nixos/common/security.nix b/modules/nixos/common/security.nix index d146cee..7a3d3b3 100644 --- a/modules/nixos/common/security.nix +++ b/modules/nixos/common/security.nix @@ -1,8 +1,4 @@ -{ - inputs, - lib, - ... -}: +{lib, ...}: with lib; { security = { sudo = { diff --git a/modules/nixos/endlessh.nix b/modules/nixos/endlessh.nix index 67789fd..1350a6a 100644 --- a/modules/nixos/endlessh.nix +++ b/modules/nixos/endlessh.nix @@ -1,7 +1,6 @@ { config, lib, - pkgs, ... }: with lib; let diff --git a/modules/nixos/matrix/synapse.nix b/modules/nixos/matrix/synapse.nix index 6ff5e0d..1117f23 100644 --- a/modules/nixos/matrix/synapse.nix +++ b/modules/nixos/matrix/synapse.nix @@ -1,7 +1,6 @@ { config, lib, - pkgs, ... }: with lib; let diff --git a/modules/nixos/monitoring/default.nix b/modules/nixos/monitoring/default.nix index 57a0d09..a48701e 100644 --- a/modules/nixos/monitoring/default.nix +++ b/modules/nixos/monitoring/default.nix @@ -1,7 +1,6 @@ { config, lib, - pkgs, ... }: with lib; let diff --git a/modules/nixos/openssh.nix b/modules/nixos/openssh.nix index 6f4614c..164f5bb 100644 --- a/modules/nixos/openssh.nix +++ b/modules/nixos/openssh.nix @@ -1,7 +1,6 @@ { config, lib, - pkgs, ... }: with lib; let diff --git a/modules/nixos/postgresql.nix b/modules/nixos/postgresql.nix index df05e7e..79515e8 100644 --- a/modules/nixos/postgresql.nix +++ b/modules/nixos/postgresql.nix @@ -43,6 +43,9 @@ in { inherit (cfg) package; + # In hindsight, it was a poor choice to use ICU as a locale provider. + # Now each time ICU version is bumped, I need to carefully upgrade each + # database to match the version. initdbArgs = [ "--encoding=UTF8" "--locale-provider=icu" @@ -52,6 +55,9 @@ in { "--lc-ctype=C" ]; + # This crutch is here because some services cannot work via a UNIX + # socket connection and I can't be bothered to configure proper + # authentication. authentication = '' local all all trust ''; diff --git a/modules/nixos/profiles/default.nix b/modules/nixos/profiles/default.nix index 0c78b0f..e19d8b1 100644 --- a/modules/nixos/profiles/default.nix +++ b/modules/nixos/profiles/default.nix @@ -2,7 +2,6 @@ config, lib, pkgs, - this, ... }: with lib; let diff --git a/modules/nixos/profiles/dev/default.nix b/modules/nixos/profiles/dev/default.nix index 8cb2356..bba8ebd 100644 --- a/modules/nixos/profiles/dev/default.nix +++ b/modules/nixos/profiles/dev/default.nix @@ -1,8 +1,6 @@ { config, lib, - pkgs, - this, ... }: with lib; let diff --git a/modules/nixos/profiles/headful.nix b/modules/nixos/profiles/headful.nix index ede921a..71addbf 100644 --- a/modules/nixos/profiles/headful.nix +++ b/modules/nixos/profiles/headful.nix @@ -2,7 +2,6 @@ config, lib, pkgs, - this, ... }: with lib; let diff --git a/modules/nixos/profiles/headless.nix b/modules/nixos/profiles/headless.nix index efe4d03..40f68ed 100644 --- a/modules/nixos/profiles/headless.nix +++ b/modules/nixos/profiles/headless.nix @@ -2,7 +2,6 @@ config, lib, pkgs, - this, ... }: with lib; let diff --git a/modules/nixos/syncthing.nix b/modules/nixos/syncthing.nix index b690ab4..b0d98bc 100644 --- a/modules/nixos/syncthing.nix +++ b/modules/nixos/syncthing.nix @@ -2,7 +2,6 @@ config, inputs, lib, - pkgs, this, ... }: diff --git a/modules/nixos/x11.nix b/modules/nixos/x11.nix index cd8dfbe..f2d850b 100644 --- a/modules/nixos/x11.nix +++ b/modules/nixos/x11.nix @@ -1,7 +1,6 @@ { config, lib, - pkgs, ... }: with lib; let diff --git a/modules/nixos/xmonad.nix b/modules/nixos/xmonad.nix index 2cc7ad6..da005b2 100644 --- a/modules/nixos/xmonad.nix +++ b/modules/nixos/xmonad.nix @@ -1,6 +1,5 @@ { config, - inputs, lib, pkgs, ... -- cgit 1.4.1