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"; 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 = { tlms-rs = {
url = "github:tlm-solutions/tlms.rs"; url = "github:tlm-solutions/tlms.rs";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
@ -134,7 +127,6 @@
, bureaucrat , bureaucrat
, telegram-decoder , telegram-decoder
, trekkie , trekkie
, wartrammer
, windshield , windshield
, chemo , chemo
, ... , ...

View File

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

View File

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

View File

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

View File

@ -24,8 +24,6 @@ in
}; };
scrapeConfigs = scrapeConfigs =
let let
prometheus_listen_address = config.deployment-TLMS.net.wg.addr4;
### Autogenerate prometheus scraper config ### Autogenerate prometheus scraper config
# currently only wireguard-connected machines are getting scraped. # currently only wireguard-connected machines are getting scraped.
filterWgHosts = k: v: !(builtins.isNull v.config.deployment-TLMS.net.wg.addr4); 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 let
regMotd = '' regMotd = ''
_._ _,-'""`-._ _._ _,-'""`-._

View File

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

View File

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

View File

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

View File

@ -1,7 +1,6 @@
{ config, ... }: { config, ... }:
let let
port = 51820; port = 51820;
mac_addr = "03:db:db:db:db:db";
in in
{ {
boot.kernel.sysctl."net.ipv4.ip_forward" = 1; 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 { stdenv.mkDerivation {
pname = "dvb-dump-docs"; pname = "dvb-dump-docs";
version = "0.1.0"; version = "0.1.0";