diff --git a/hosts/tomate/hardware-configuration.nix b/hosts/tomate/hardware-configuration.nix index 9866793..4d71ba7 100644 --- a/hosts/tomate/hardware-configuration.nix +++ b/hosts/tomate/hardware-configuration.nix @@ -1,7 +1,7 @@ # Do not modify this file! It was generated by ‘nixos-generate-config’ # and may be overwritten by future invocations. Please make changes # to /etc/nixos/configuration.nix instead. -{ config, lib, pkgs, modulesPath, ... }: +{ config, lib, modulesPath, ... }: { imports = diff --git a/modules/bacula.nix b/modules/bacula.nix index 916742f..ea93477 100644 --- a/modules/bacula.nix +++ b/modules/bacula.nix @@ -1,4 +1,4 @@ -{ pkgs, config, lib, ... }: +{ pkgs, config, ... }: { sops.secrets = { "bacula/password".owner = "bacula"; diff --git a/modules/fail2ban.nix b/modules/fail2ban.nix index e0194ba..2681d43 100644 --- a/modules/fail2ban.nix +++ b/modules/fail2ban.nix @@ -1,4 +1,4 @@ -{ config, lib, pkgs, ... }: +{ ... }: { services.fail2ban = { enable = true; diff --git a/modules/infoscreen.nix b/modules/infoscreen.nix index 389c440..5d05e0c 100644 --- a/modules/infoscreen.nix +++ b/modules/infoscreen.nix @@ -1,4 +1,4 @@ -{ pkgs, config, lib, ... }: +{ config, ... }: let domain = "infoscreen.${config.networking.domain}"; in diff --git a/modules/ldap/default.nix b/modules/ldap/default.nix index 12397c3..1bcdc55 100644 --- a/modules/ldap/default.nix +++ b/modules/ldap/default.nix @@ -47,7 +47,7 @@ in disabledModules = [ "services/misc/portunus.nix" ]; imports = [ "${nixpkgs-unstable}/nixos/modules/services/misc/portunus.nix" ]; nixpkgs.overlays = [ - (self: super: { + (_self: _super: { inherit (nixpkgs-unstable.legacyPackages.${system}) portunus; }) ]; diff --git a/modules/manual.nix b/modules/manual.nix index f83c5e5..94a7f15 100644 --- a/modules/manual.nix +++ b/modules/manual.nix @@ -1,4 +1,4 @@ -{ pkgs, config, lib, ... }: +{ config, ... }: let domain = "manual.${config.networking.domain}"; in diff --git a/modules/postgres.nix b/modules/postgres.nix index e4c8cb1..297a1ea 100644 --- a/modules/postgres.nix +++ b/modules/postgres.nix @@ -1,4 +1,4 @@ -{ pkgs, ... }: +{ ... }: { # automatically back up all databases services.postgresqlBackup = { diff --git a/modules/zammad.nix b/modules/zammad.nix index 5d942e7..7746aeb 100644 --- a/modules/zammad.nix +++ b/modules/zammad.nix @@ -1,4 +1,4 @@ -{ config, lib, pkgs, ... }: +{ config, ... }: let domain = "tickets.${config.networking.domain}"; in