fixing deadnix complaints

This commit is contained in:
Tassilo - 2023-05-14 17:38:51 +02:00
parent af5c568086
commit 0e600296ac
Signed by: revol-xut
GPG Key ID: 4F56FF7759627D07
11 changed files with 8 additions and 19 deletions

View File

@ -101,13 +101,6 @@
inputs.utils.follows = "flake-utils";
};
wartrammer = {
url = "github:tlm-solutions/wartrammer-40k";
inputs.nixpkgs.follows = "nixpkgs";
inputs.naersk.follows = "naersk";
inputs.utils.follows = "flake-utils";
};
tlms-rs = {
url = "github:tlm-solutions/tlms.rs";
inputs.nixpkgs.follows = "nixpkgs";
@ -134,7 +127,6 @@
, bureaucrat
, telegram-decoder
, trekkie
, wartrammer
, windshield
, chemo
, ...

View File

@ -1,4 +1,4 @@
{ self, inputs, lib, modulesPath, ... }:
{ self, lib, modulesPath, ... }:
{
imports = [
"${modulesPath}/virtualisation/qemu-vm.nix"

View File

@ -1,3 +1,3 @@
{ pkgs, config, lib, ... }: {
{ lib, ... }: {
deployment-TLMS.domain = lib.mkForce "local.tlm.solutions";
}

View File

@ -1,4 +1,4 @@
{ pkgs, lib, config, inputs, ... }: {
{ inputs, ... }: {
services.postgresql = {
enable = true;
port = 5432;

View File

@ -24,8 +24,6 @@ in
};
scrapeConfigs =
let
prometheus_listen_address = config.deployment-TLMS.net.wg.addr4;
### Autogenerate prometheus scraper config
# currently only wireguard-connected machines are getting scraped.
filterWgHosts = k: v: !(builtins.isNull v.config.deployment-TLMS.net.wg.addr4);

View File

@ -1,4 +1,4 @@
{ pkgs, config, lib, inputs, ... }:
{ pkgs, config, lib, ... }:
let
regMotd = ''
_._ _,-'""`-._

View File

@ -1,4 +1,4 @@
{ lib, pkgs, config, ... }:
{ lib, ... }:
with lib; {
options.TLMS = {
stopsJson = mkOption {

View File

@ -1,4 +1,4 @@
{ pkgs, config, ... }: {
{ config, ... }: {
services = {
nginx = {
enable = true;

View File

@ -1,4 +1,4 @@
{ pkgs, config, lib, ... }:
{ config, ... }:
let
mac_addr = "00:de:5b:f9:e2:3d";
in

View File

@ -1,7 +1,6 @@
{ config, ... }:
let
port = 51820;
mac_addr = "03:db:db:db:db:db";
in
{
boot.kernel.sysctl."net.ipv4.ip_forward" = 1;

View File

@ -1,4 +1,4 @@
{ lib, stdenv, mdbook-mermaid, mdbook, documentation-src, options-docs, fetchFromGitHub }:
{ lib, stdenv, mdbook-mermaid, mdbook, documentation-src, options-docs }:
stdenv.mkDerivation {
pname = "dvb-dump-docs";
version = "0.1.0";