From 736c84cce963476d8973b0586a48af927864abca Mon Sep 17 00:00:00 2001 From: Rouven Seifert Date: Mon, 11 Mar 2024 22:49:12 +0100 Subject: [PATCH] treewide: ran deadnix --- hosts/tomate/hardware-configuration.nix | 2 +- modules/bacula.nix | 2 +- modules/fail2ban.nix | 2 +- modules/infoscreen.nix | 2 +- modules/ldap/default.nix | 2 +- modules/manual.nix | 2 +- modules/postgres.nix | 2 +- modules/zammad.nix | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) 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