Make all machines have an age sops key
This commit is contained in:
parent
c19e22736d
commit
76130fdc51
2 changed files with 5 additions and 1 deletions
|
@ -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;
|
||||
|
|
|
@ -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" ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue