Remove dead code (#10)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
oxapentane - 2022-06-27 20:59:16 +02:00 committed by GitHub
parent 00cd1c57f3
commit 62b9aa6cbd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
31 changed files with 31 additions and 31 deletions

View File

@ -68,7 +68,7 @@
}; };
}; };
outputs = { self, nixpkgs, naersk, microvm, radio-conf, data-accumulator, decode-server, dvb-api, funnel, stops, windshield, docs, wartrammer, clicky-bunty-server, sops-nix, ... }@inputs: outputs = { self, nixpkgs, microvm, radio-conf, data-accumulator, decode-server, dvb-api, funnel, stops, windshield, docs, wartrammer, clicky-bunty-server, sops-nix, ... }@inputs:
let let
pkgs = nixpkgs.legacyPackages."x86_64-linux"; pkgs = nixpkgs.legacyPackages."x86_64-linux";
lib = pkgs.lib; lib = pkgs.lib;

View File

@ -1,4 +1,4 @@
{ config, pkgs, inputs, ... }: { ... }:
{ {
# The global useDHCP flag is deprecated, therefore explicitly set to false here. # The global useDHCP flag is deprecated, therefore explicitly set to false here.

View File

@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }: { lib, pkgs, ... }:
{ {
imports = [ imports = [

View File

@ -2,7 +2,7 @@
# your system. Help is available in the configuration.nix(5) man page # your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help). # and in the NixOS manual (accessible by running nixos-help).
{ config, pkgs, inputs, ... }: { pkgs, ... }:
{ {
# Use the GRUB 2 boot loader. # Use the GRUB 2 boot loader.

View File

@ -1,7 +1,7 @@
# Do not modify this file! It was generated by nixos-generate-config # Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes # and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead. # to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }: { config, lib, modulesPath, ... }:
{ {
imports = imports =

View File

@ -1,4 +1,4 @@
{ config, pkgs, inputs, ... }: { ... }:
{ {
boot.tmpOnTmpfs = true; boot.tmpOnTmpfs = true;

View File

@ -1,7 +1,7 @@
# Do not modify this file! It was generated by nixos-generate-config # Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes # and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead. # to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }: { config, lib, modulesPath, ... }:
{ {
imports = imports =

View File

@ -2,7 +2,7 @@
# your system. Help is available in the configuration.nix(5) man page # your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help). # and in the NixOS manual (accessible by running nixos-help).
{ config, pkgs, inputs, ... }: { config, pkgs, ... }:
{ {
microvm = { microvm = {

View File

@ -1,4 +1,4 @@
{ config, pkgs, inputs, ... }: { config, ... }:
{ {
boot.tmpOnTmpfs = true; boot.tmpOnTmpfs = true;

View File

@ -1,7 +1,7 @@
# Do not modify this file! It was generated by nixos-generate-config # Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes # and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead. # to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }: { config, lib, modulesPath, ... }:
{ {
imports = imports =

View File

@ -1,4 +1,4 @@
{ config, pkgs, inputs, ... }: { ... }:
{ {
boot.tmpOnTmpfs = true; boot.tmpOnTmpfs = true;

View File

@ -1,7 +1,7 @@
# Do not modify this file! It was generated by nixos-generate-config # Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes # and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead. # to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }: { modulesPath, ... }:
{ {
imports = imports =

View File

@ -1,4 +1,4 @@
{ config, pkgs, inputs, ... }: { ... }:
{ {
boot.tmpOnTmpfs = true; boot.tmpOnTmpfs = true;

View File

@ -1,7 +1,7 @@
# Do not modify this file! It was generated by nixos-generate-config # Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes # and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead. # to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }: { modulesPath, ... }:
{ {
imports = imports =

View File

@ -1,4 +1,4 @@
{ pkgs, config, ... }: { pkgs, ... }:
{ {
nix = { nix = {

View File

@ -1,4 +1,4 @@
{ pkgs, config, lib, ... }: { { pkgs, config, ... }: {
systemd = { systemd = {
services = { services = {
"dvb-api" = { "dvb-api" = {

View File

@ -2,7 +2,7 @@
This file contains the configuration for the gnuradio sdr decoding pipeline This file contains the configuration for the gnuradio sdr decoding pipeline
*/ */
{ pkgs, config, lib, ... }: { pkgs, config, ... }:
let let
port = 8070; port = 8070;
in in

View File

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

View File

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

View File

@ -1,4 +1,4 @@
{ pkgs, config, lib, ... }: { { config, lib, ... }: {
services = { services = {
# metrics collector # metrics collector

View File

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

View File

@ -1,4 +1,4 @@
{ pkgs, config, lib, ... }: { { ... }: {
security.acme.acceptTerms = true; security.acme.acceptTerms = true;
security.acme.defaults.email = "dump-dvb@protonmail.com"; security.acme.defaults.email = "dump-dvb@protonmail.com";
services.nginx = { services.nginx = {

View File

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

View File

@ -1,4 +1,4 @@
{ config, pkgs, ... }: { config, ... }:
{ {
sops.age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ]; sops.age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];

View File

@ -1,4 +1,4 @@
{ pkgs, config, lib, ... }: { { pkgs, config, ... }: {
systemd = { systemd = {
services = { services = {
"funnel" = { "funnel" = {

View File

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

View File

@ -1,4 +1,4 @@
{ config, lib, ... }: { lib, ... }:
with lib; { with lib; {
options.dump-dvb.systemNumber = mkOption { options.dump-dvb.systemNumber = mkOption {
type = types.int; type = types.int;

View File

@ -1,4 +1,4 @@
{ pkgs, config, ... }: { ... }:
{ {
binaryCaches = [ binaryCaches = [

View File

@ -1,4 +1,4 @@
{ pkgs, config, lib, ... }: { pkgs, ... }:
let let
file = ../../configs/mobile_box.json; file = ../../configs/mobile_box.json;
in in

View File

@ -1,4 +1,4 @@
{ config, pkgs, ... }: { config, ... }:
{ {
sops.defaultSopsFile = ../../secrets/traffic-stop-box-${toString config.dump-dvb.systemNumber}/secrets.yaml; sops.defaultSopsFile = ../../secrets/traffic-stop-box-${toString config.dump-dvb.systemNumber}/secrets.yaml;
sops.age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ]; sops.age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];

View File

@ -1,4 +1,4 @@
{ pkgs, lib, ... }: { ... }:
{ {
users.mutableUsers = true; users.mutableUsers = true;