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
|
||||
];
|
||||
|
||||
|
||||
# Keep the system up-to-date automatically
|
||||
system = {
|
||||
autoUpgrade = {
|
||||
|
|
|
@ -1,6 +1,16 @@
|
|||
{ config, pkgs, ... }: {
|
||||
# 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
|
||||
environment.systemPackages = with pkgs; [
|
||||
promtail
|
||||
|
|
Loading…
Reference in a new issue