NixOS + home-manager configs, mirrored from GitLab SaaS. gitlab.com/andreijiroh-dev/nixops-config
nix-flake nixos home-manager nixpkgs nix-flakes
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 491d2abd3fd4e2964a879f58fdd2ac9f6ea7f957 22 lines 406 B view raw
1{ pkgs, lib, config, ... }: 2 3let 4 cfg = config.nixops-config.secretOps.gnupg; 5in 6{ 7 config = lib.mkIf cfg.enable { 8 programs.gnupg.agent = { 9 enable = true; 10 enableSSHSupport = cfg.sshAgentIntegration; 11 pinentryPackage = cfg.pinentryPkg; 12 }; 13 14 environment.systemPackages = with pkgs; [ 15 gnupg 16 gpgme 17 gpgme.dev 18 pinentry-tty 19 cfg.pinentryPkg 20 ]; 21 }; 22}