Skip to content

Commit

Permalink
nixos/servnerr-3: install and run gpg-agent
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Layher <mdlayher@gmail.com>
  • Loading branch information
mdlayher committed Sep 2, 2020
1 parent a198ae3 commit 7608f48
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions nixos/lib/system.nix
Expand Up @@ -36,6 +36,7 @@ in {
go
git
gnumake
gnupg
htop
iftop
iperf3
Expand Down
6 changes: 6 additions & 0 deletions nixos/servnerr-3/configuration.nix
Expand Up @@ -109,6 +109,12 @@ in {
# lib/system.nix.
environment.systemPackages = with pkgs; [ zfs ];

# Enable gpg for file decryption.
programs.gnupg.agent = {
enable = true;
pinentryFlavor = "curses";
};

services = {
apcupsd.enable = true;

Expand Down

0 comments on commit 7608f48

Please sign in to comment.