Skip to content

Commit

Permalink
added gnupg support
Browse files Browse the repository at this point in the history
  • Loading branch information
heywoodlh committed Oct 23, 2024
1 parent 044ddb7 commit 58b7d64
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
8 changes: 7 additions & 1 deletion home/linux.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ in {
'';

nix = {
settings = let
settings = let
foreignLinuxBuilder = if pkgs.system == "x86_64-linux" then
"ssh://heywoodlh@nixos-mac-mini aarch64-linux" else
"ssh://heywoodlh@nix-nvidia x86_64-linux";
Expand Down Expand Up @@ -74,6 +74,12 @@ allowedSignersFile = ${signersFile}
'';
};

# Gnupg settings
services.gpg-agent = {
enable = true;
pinentryPackage = pkgs.pinentry-curses;
};

# FBTerm config
home.file.".config/fbterm/fbtermrc" = {
enable = true;
Expand Down
1 change: 0 additions & 1 deletion home/linux/desktop.nix
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ in {
pkgs.libnotify #(notify-send)
pkgs.nixos-install-tools
pkgs.nordic
pkgs.pinentry-rofi
pkgs.rofi
pkgs.tailscale
pkgs.virt-manager
Expand Down
6 changes: 6 additions & 0 deletions nixos/base.nix
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,12 @@ in {
};
};

# Enable gnupg agent
programs.gnupg.agent = {
enable = true;
pinentryPackage = pkgs.pinentry-curses;
};

# NixOS version
system.stateVersion = "24.11";
}

0 comments on commit 58b7d64

Please sign in to comment.