Make all machines have an age sops key

This commit is contained in:
Cyryl Płotnicki 2022-06-04 13:11:55 +01:00
parent c19e22736d
commit 76130fdc51
2 changed files with 5 additions and 1 deletions

View file

@ -1,7 +1,6 @@
{ config, pkgs, ... }:
{
sops.age.keyFile = /home/cyryl/.config/sops/age/keys.txt;
sops.secrets.openweathermap-api-key = {
mode = "0440";
owner = config.users.users.cyryl.name;

View file

@ -13,6 +13,11 @@
services.clamav.daemon.enable = true;
services.clamav.updater.enable = true;
sops.age = {
keyFile = "/var/lib/sops-nix/key.txt";
generateKey = true;
};
boot.kernelParams =
[ "slub_debug=FZP" "page_poison=1" "page_alloc.shuffle=1" ];