sops: include sops package
parent
d4f3391cac
commit
e59445a83c
|
@ -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";
|
||||
|
||||
|
|
Loading…
Reference in New Issue