sops: include sops package

sh-initrd-on-root
Zynh Ludwig 2024-07-11 21:49:11 +00:00
parent d4f3391cac
commit e59445a83c
1 changed files with 5 additions and 1 deletions

View File

@ -1,4 +1,4 @@
{ lib, config, inputs, ... }:
{ lib, config, inputs, pkgs, ... }:
let
cfg = config.snowhawk.sops;
@ -14,6 +14,10 @@ in
};
config = lib.mkIf cfg.enable {
home.packages = [
pkgs.sops
];
sops = {
age.keyFile = "${home}/.config/sops/age/keys.txt";