Create home-manager module for sops
This commit is contained in:
parent
8c35cb9f61
commit
9ccbf41324
4 changed files with 26 additions and 11 deletions
|
@ -12,7 +12,7 @@ in {
|
|||
options.pim.sops.enable = lib.mkEnableOption "sops";
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
environment.systemPackages = with pkgs; [sops];
|
||||
environment.systemPackages = [pkgs.sops];
|
||||
|
||||
sops = {
|
||||
age.keyFile = "/home/pim/.config/sops/age/keys.txt";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue