diff options
Diffstat (limited to 'modules/nixos')
-rw-r--r-- | modules/nixos/android.nix | 2 | ||||
-rw-r--r-- | modules/nixos/bluetooth.nix | 1 | ||||
-rw-r--r-- | modules/nixos/common/nix.nix | 1 | ||||
-rw-r--r-- | modules/nixos/common/security.nix | 6 | ||||
-rw-r--r-- | modules/nixos/endlessh.nix | 1 | ||||
-rw-r--r-- | modules/nixos/matrix/synapse.nix | 1 | ||||
-rw-r--r-- | modules/nixos/monitoring/default.nix | 1 | ||||
-rw-r--r-- | modules/nixos/openssh.nix | 1 | ||||
-rw-r--r-- | modules/nixos/postgresql.nix | 6 | ||||
-rw-r--r-- | modules/nixos/profiles/default.nix | 1 | ||||
-rw-r--r-- | modules/nixos/profiles/dev/default.nix | 2 | ||||
-rw-r--r-- | modules/nixos/profiles/headful.nix | 1 | ||||
-rw-r--r-- | modules/nixos/profiles/headless.nix | 1 | ||||
-rw-r--r-- | modules/nixos/syncthing.nix | 1 | ||||
-rw-r--r-- | modules/nixos/x11.nix | 1 | ||||
-rw-r--r-- | modules/nixos/xmonad.nix | 1 |
16 files changed, 7 insertions, 21 deletions
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, ... |