rebase to master
This commit is contained in:
parent
65ea26f124
commit
e0129dee3b
2 changed files with 29 additions and 0 deletions
8
flake.lock
generated
8
flake.lock
generated
|
@ -539,11 +539,19 @@
|
||||||
},
|
},
|
||||||
"nix-secrets": {
|
"nix-secrets": {
|
||||||
"locked": {
|
"locked": {
|
||||||
|
<<<<<<< HEAD
|
||||||
"lastModified": 1738685297,
|
"lastModified": 1738685297,
|
||||||
"narHash": "sha256-JOv3+toYlftzBm47QF5tzaBhTbQIm1IBq1tKeQrQLyM=",
|
"narHash": "sha256-JOv3+toYlftzBm47QF5tzaBhTbQIm1IBq1tKeQrQLyM=",
|
||||||
"ref": "refs/heads/master",
|
"ref": "refs/heads/master",
|
||||||
"rev": "3be1d509f9823292dd9ca6b396743fbf722bd8b9",
|
"rev": "3be1d509f9823292dd9ca6b396743fbf722bd8b9",
|
||||||
"revCount": 269,
|
"revCount": 269,
|
||||||
|
=======
|
||||||
|
"lastModified": 1738356588,
|
||||||
|
"narHash": "sha256-mb3P2bNaZuCz1is4NR05r2xm66n6ABQAkYLP5U5/eCY=",
|
||||||
|
"ref": "refs/heads/master",
|
||||||
|
"rev": "3ae59d3cfe419e10087da719129cca5c01b8cbcd",
|
||||||
|
"revCount": 267,
|
||||||
|
>>>>>>> 24e1bc1 (add restic-exporter to prometheus metrics)
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "ssh://git@git.bitlab21.com/sam/nix-secrets.git"
|
"url": "ssh://git@git.bitlab21.com/sam/nix-secrets.git"
|
||||||
},
|
},
|
||||||
|
|
|
@ -102,9 +102,12 @@ in {
|
||||||
secrets = {
|
secrets = {
|
||||||
"software/restic-passphrase" = {};
|
"software/restic-passphrase" = {};
|
||||||
"software/restic-exporter-credentials" = {};
|
"software/restic-exporter-credentials" = {};
|
||||||
|
<<<<<<< HEAD
|
||||||
"comms/xmpp/notifybot/password" = {
|
"comms/xmpp/notifybot/password" = {
|
||||||
mode = "0644";
|
mode = "0644";
|
||||||
};
|
};
|
||||||
|
=======
|
||||||
|
>>>>>>> 24e1bc1 (add restic-exporter to prometheus metrics)
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -243,6 +246,7 @@ in {
|
||||||
repeat_interval: 1h
|
repeat_interval: 1h
|
||||||
receiver: 'xmpp-alerts'
|
receiver: 'xmpp-alerts'
|
||||||
|
|
||||||
|
<<<<<<< HEAD
|
||||||
receivers:
|
receivers:
|
||||||
- name: 'xmpp-alerts'
|
- name: 'xmpp-alerts'
|
||||||
webhook_configs:
|
webhook_configs:
|
||||||
|
@ -286,6 +290,23 @@ in {
|
||||||
passwordFile = config.sops.secrets."software/restic-passphrase".path;
|
passwordFile = config.sops.secrets."software/restic-passphrase".path;
|
||||||
refreshInterval = 10800; # refresh every 3 hours
|
refreshInterval = 10800; # refresh every 3 hours
|
||||||
port = 8001;
|
port = 8001;
|
||||||
|
=======
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
node = {
|
||||||
|
enable = true;
|
||||||
|
enabledCollectors = ["systemd"];
|
||||||
|
port = 9002;
|
||||||
|
};
|
||||||
|
restic = {
|
||||||
|
enable = true;
|
||||||
|
repository = "";
|
||||||
|
environmentFile = config.sops.secrets."software/restic-exporter-credentials".path;
|
||||||
|
passwordFile = config.sops.secrets."software/restic-passphrase".path;
|
||||||
|
refreshInterval = 10800; # refresh every 3 hours
|
||||||
|
port = 8001;
|
||||||
|
};
|
||||||
|
>>>>>>> 24e1bc1 (add restic-exporter to prometheus metrics)
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue