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
];
# Keep the system up-to-date automatically
system = {
autoUpgrade = {

View file

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