sops: include sops package
This commit is contained in:
parent
d4f3391cac
commit
e59445a83c
1 changed files with 5 additions and 1 deletions
|
@ -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";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue