sops: include sops package

This commit is contained in:
Zynh Ludwig 2024-07-11 21:49:11 +00:00
parent d4f3391cac
commit e59445a83c

View file

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