This commit is contained in:
iFargle 2023-07-04 19:51:41 +09:00
parent 7550489256
commit 8a263d9ae7
2 changed files with 11 additions and 0 deletions

View file

@ -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 = {

View file

@ -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