This commit is contained in:
parent
945897643d
commit
6d99123d55
7 changed files with 20 additions and 10 deletions
|
|
@ -11,5 +11,5 @@
|
|||
enable = true;
|
||||
};
|
||||
|
||||
networking.firewall.allowedTCPPorts = [80 443];
|
||||
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{pkgs, config,...}:
|
||||
{ pkgs, config, ... }:
|
||||
{
|
||||
|
||||
age.secrets.forgejo-runner-token-1 = {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{config, ...}:
|
||||
{ config, ... }:
|
||||
let
|
||||
domain = "git.${config.networking.domain}";
|
||||
in
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{config, ...}:
|
||||
{ config, ... }:
|
||||
{
|
||||
|
||||
age.secrets = {
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
imports = [
|
||||
./monitoring.nix
|
||||
./users.nix
|
||||
];
|
||||
|
||||
|
|
|
|||
9
modules/common/monitoring.nix
Normal file
9
modules/common/monitoring.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{ ... }:
|
||||
{
|
||||
services.prometheus.exporters = {
|
||||
node = {
|
||||
enable = true;
|
||||
enabledCollectors = [ "systemd" ];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
{...}:
|
||||
{ ... }:
|
||||
{
|
||||
imports = [
|
||||
./common
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue