Create home-manager module for sops

This commit is contained in:
Pim Kunis 2024-11-11 21:57:58 +01:00
parent 8c35cb9f61
commit 9ccbf41324
4 changed files with 26 additions and 11 deletions

View file

@ -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";