deadnix
This commit is contained in:
parent
568b465757
commit
c72a300651
10
flake.nix
10
flake.nix
|
@ -47,14 +47,6 @@
|
||||||
rust-overlay.follows = "rust-overlay";
|
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 = {
|
buzzrelay = {
|
||||||
url = "github:astro/buzzrelay";
|
url = "github:astro/buzzrelay";
|
||||||
inputs = {
|
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
|
let
|
||||||
inherit (nixos) lib;
|
inherit (nixos) lib;
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ zentralwerk, config, lib, pkgs, ... }:
|
{ zentralwerk, config, pkgs, ... }:
|
||||||
let
|
let
|
||||||
systemctl = "${pkgs.systemd}/bin/systemctl";
|
systemctl = "${pkgs.systemd}/bin/systemctl";
|
||||||
deployCommand = "${systemctl} start deploy-c3d2-dns";
|
deployCommand = "${systemctl} start deploy-c3d2-dns";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, hostRegistry, lib, options, pkgs, ... }:
|
{ config, hostRegistry, lib, pkgs, ... }:
|
||||||
let
|
let
|
||||||
webroot = "/var/www";
|
webroot = "/var/www";
|
||||||
in
|
in
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, lib, ... }:
|
{ ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
c3d2.deployment.server = "server10";
|
c3d2.deployment.server = "server10";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
c3d2.deployment.server = "server9";
|
c3d2.deployment.server = "server9";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [ ./hardware-configuration.nix ];
|
imports = [ ./hardware-configuration.nix ];
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, lib, libS, modulesPath, pkgs, ... }:
|
{ config, lib, libS, pkgs, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
cachePort = 5000;
|
cachePort = 5000;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, lib, options, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
c3d2.deployment.server = "server10";
|
c3d2.deployment.server = "server10";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ hostRegistry, inputs, lib, microvm, secrets, self }:
|
{ hostRegistry, inputs, lib, microvm, self }:
|
||||||
|
|
||||||
let
|
let
|
||||||
getHostAddr = name:
|
getHostAddr = name:
|
||||||
|
@ -12,7 +12,7 @@ let
|
||||||
inputPaths = lib.escapeShellArgs (builtins.attrValues inputs);
|
inputPaths = lib.escapeShellArgs (builtins.attrValues inputs);
|
||||||
overrideInputsArgs = lib.concatStringsSep " " (builtins.attrValues (lib.mapAttrs
|
overrideInputsArgs = lib.concatStringsSep " " (builtins.attrValues (lib.mapAttrs
|
||||||
(name: value: "--override-input ${name} ${value}")
|
(name: value: "--override-input ${name} ${value}")
|
||||||
(lib.filterAttrs (name: value: name != "self") inputs)
|
(lib.filterAttrs (name: _value: name != "self") inputs)
|
||||||
));
|
));
|
||||||
in
|
in
|
||||||
lib.attrsets.mapAttrs
|
lib.attrsets.mapAttrs
|
||||||
|
|
Loading…
Reference in New Issue