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, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
sops.age.keyFile = /home/cyryl/.config/sops/age/keys.txt;
|
|
||||||
sops.secrets.openweathermap-api-key = {
|
sops.secrets.openweathermap-api-key = {
|
||||||
mode = "0440";
|
mode = "0440";
|
||||||
owner = config.users.users.cyryl.name;
|
owner = config.users.users.cyryl.name;
|
||||||
|
|
|
@ -13,6 +13,11 @@
|
||||||
services.clamav.daemon.enable = true;
|
services.clamav.daemon.enable = true;
|
||||||
services.clamav.updater.enable = true;
|
services.clamav.updater.enable = true;
|
||||||
|
|
||||||
|
sops.age = {
|
||||||
|
keyFile = "/var/lib/sops-nix/key.txt";
|
||||||
|
generateKey = true;
|
||||||
|
};
|
||||||
|
|
||||||
boot.kernelParams =
|
boot.kernelParams =
|
||||||
[ "slub_debug=FZP" "page_poison=1" "page_alloc.shuffle=1" ];
|
[ "slub_debug=FZP" "page_poison=1" "page_alloc.shuffle=1" ];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue