test
This commit is contained in:
parent
7550489256
commit
8a263d9ae7
2 changed files with 11 additions and 0 deletions
|
@ -25,6 +25,7 @@
|
||||||
./services/fail2ban.nix
|
./services/fail2ban.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
# Keep the system up-to-date automatically
|
# Keep the system up-to-date automatically
|
||||||
system = {
|
system = {
|
||||||
autoUpgrade = {
|
autoUpgrade = {
|
||||||
|
|
|
@ -1,6 +1,16 @@
|
||||||
{ config, pkgs, ... }: {
|
{ config, pkgs, ... }: {
|
||||||
# Promtail Logging
|
# Promtail Logging
|
||||||
|
|
||||||
|
# Import the keys for user / pass:
|
||||||
|
imports = [ <sops-nix/modules/sops ];
|
||||||
|
# Import the file:
|
||||||
|
sops.defaultSopsFile = ./secrets/secrets.yaml;
|
||||||
|
|
||||||
|
# Define the secrets
|
||||||
|
sops.secrets.promtail.user = {};
|
||||||
|
sops.secrets.promtail.pass = {};
|
||||||
|
sops.secrets.promtail.url = {};
|
||||||
|
|
||||||
# Install the package
|
# Install the package
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
promtail
|
promtail
|
||||||
|
|
Loading…
Reference in a new issue