diff options
author | Jon Santmyer <jon@jonsantmyer.com> | 2024-04-29 17:05:09 -0400 |
---|---|---|
committer | Jon Santmyer <jon@jonsantmyer.com> | 2024-04-29 17:05:09 -0400 |
commit | 69857d405fcc45194b4a4c4bb1f9946c05e50631 (patch) | |
tree | 461c6adc10b88c5e86ea38b70078bbf1500b5984 /modules/security.nix | |
parent | 7b79203f54853733d4fae88943829d0e24e6e49f (diff) | |
download | nix-config-69857d405fcc45194b4a4c4bb1f9946c05e50631.tar.gz nix-config-69857d405fcc45194b4a4c4bb1f9946c05e50631.tar.bz2 nix-config-69857d405fcc45194b4a4c4bb1f9946c05e50631.zip |
add security nix, more programs for desktop
Diffstat (limited to 'modules/security.nix')
-rw-r--r-- | modules/security.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/modules/security.nix b/modules/security.nix new file mode 100644 index 0000000..c88fe0c --- /dev/null +++ b/modules/security.nix @@ -0,0 +1,28 @@ +{ + config, + options, + lib, + pkgs, + ... +}: let + +in { + config = { + security.polkit.enable = true; + services.pcscd.enable = true; + + programs.gnupg.agent = { + enable = true; + enableSSHSupport = true; + }; + + environment.systemPackages = [ + pkgs.pinentry-curses + ]; + + home.packages = [ + (pkgs.pass.withExtensions (exts: [exts.pass-otp ])) + pkgs.pinentry-qt + ]; + }; +} |