This commit is contained in:
Markus Schmidl 2023-03-09 21:47:10 +01:00
parent 568b465757
commit c72a300651
9 changed files with 10 additions and 18 deletions

View File

@ -47,14 +47,6 @@
rust-overlay.follows = "rust-overlay";
};
};
buzz2elastic = {
url = "git+https://gitea.c3d2.de/astro/buzz2elastic";
inputs = {
naersk.follows = "naersk";
nixpkgs.follows = "nixos";
utils.follows = "flake-utils";
};
};
buzzrelay = {
url = "github:astro/buzzrelay";
inputs = {
@ -222,7 +214,7 @@
};
};
outputs = inputs@{ self, alert2muc, c3d2-user-module, deployment, fenix, harmonia, heliwatch, microvm, naersk, nixos, nixos-hardware, nixos-modules, buzz2elastic, buzzrelay, caveman, oparl-scraper, scrapers, secrets, skyflake, sshlogd, sops-nix, spacemsg, ticker, tigger, yammat, zentralwerk, ... }:
outputs = inputs@{ self, alert2muc, c3d2-user-module, deployment, fenix, harmonia, heliwatch, microvm, naersk, nixos, nixos-hardware, nixos-modules, buzzrelay, caveman, oparl-scraper, scrapers, secrets, skyflake, sshlogd, sops-nix, spacemsg, ticker, tigger, yammat, zentralwerk, ... }:
let
inherit (nixos) lib;

View File

@ -1,4 +1,4 @@
{ zentralwerk, config, lib, pkgs, ... }:
{ zentralwerk, config, pkgs, ... }:
let
systemctl = "${pkgs.systemd}/bin/systemctl";
deployCommand = "${systemctl} start deploy-c3d2-dns";

View File

@ -1,4 +1,4 @@
{ config, hostRegistry, lib, options, pkgs, ... }:
{ config, hostRegistry, lib, pkgs, ... }:
let
webroot = "/var/www";
in

View File

@ -1,4 +1,4 @@
{ config, lib, ... }:
{ ... }:
{
c3d2.deployment.server = "server10";

View File

@ -1,4 +1,4 @@
{ config, pkgs, ... }:
{ pkgs, ... }:
{
c3d2.deployment.server = "server9";

View File

@ -1,4 +1,4 @@
{ config, pkgs, ... }:
{ pkgs, ... }:
{
imports = [ ./hardware-configuration.nix ];

View File

@ -1,4 +1,4 @@
{ config, lib, libS, modulesPath, pkgs, ... }:
{ config, lib, libS, pkgs, ... }:
let
cachePort = 5000;

View File

@ -1,4 +1,4 @@
{ config, lib, options, pkgs, ... }:
{ config, lib, pkgs, ... }:
{
c3d2.deployment.server = "server10";

View File

@ -1,4 +1,4 @@
{ hostRegistry, inputs, lib, microvm, secrets, self }:
{ hostRegistry, inputs, lib, microvm, self }:
let
getHostAddr = name:
@ -12,7 +12,7 @@ let
inputPaths = lib.escapeShellArgs (builtins.attrValues inputs);
overrideInputsArgs = lib.concatStringsSep " " (builtins.attrValues (lib.mapAttrs
(name: value: "--override-input ${name} ${value}")
(lib.filterAttrs (name: value: name != "self") inputs)
(lib.filterAttrs (name: _value: name != "self") inputs)
));
in
lib.attrsets.mapAttrs