mirror of
https://github.com/dump-dvb/nix-config.git
synced 2024-06-05 07:49:24 +02:00
fixing deadnix complaints
This commit is contained in:
parent
af5c568086
commit
0e600296ac
|
@ -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
|
||||||
, ...
|
, ...
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ self, inputs, lib, modulesPath, ... }:
|
{ self, lib, modulesPath, ... }:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
"${modulesPath}/virtualisation/qemu-vm.nix"
|
"${modulesPath}/virtualisation/qemu-vm.nix"
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
{ pkgs, config, lib, ... }: {
|
{ lib, ... }: {
|
||||||
deployment-TLMS.domain = lib.mkForce "local.tlm.solutions";
|
deployment-TLMS.domain = lib.mkForce "local.tlm.solutions";
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ pkgs, lib, config, inputs, ... }: {
|
{ inputs, ... }: {
|
||||||
services.postgresql = {
|
services.postgresql = {
|
||||||
enable = true;
|
enable = true;
|
||||||
port = 5432;
|
port = 5432;
|
||||||
|
|
|
@ -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);
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ pkgs, config, lib, inputs, ... }:
|
{ pkgs, config, lib, ... }:
|
||||||
let
|
let
|
||||||
regMotd = ''
|
regMotd = ''
|
||||||
_._ _,-'""`-._
|
_._ _,-'""`-._
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ lib, pkgs, config, ... }:
|
{ lib, ... }:
|
||||||
with lib; {
|
with lib; {
|
||||||
options.TLMS = {
|
options.TLMS = {
|
||||||
stopsJson = mkOption {
|
stopsJson = mkOption {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ pkgs, config, ... }: {
|
{ config, ... }: {
|
||||||
services = {
|
services = {
|
||||||
nginx = {
|
nginx = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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";
|
||||||
|
|
Loading…
Reference in New Issue
Block a user