🔧 plato: gnupg config

This commit is contained in:
James Walker 2021-12-18 12:40:52 -05:00
parent a68eb5fddd
commit f73e2a59cc
Signed by: walkah
GPG Key ID: 3C127179D6086E93
2 changed files with 9 additions and 6 deletions

View File

@ -3,8 +3,10 @@
let let
dotfiles = builtins.fetchTarball dotfiles = builtins.fetchTarball
"https://github.com/walkah/dotfiles/archive/main.tar.gz"; "https://github.com/walkah/dotfiles/archive/main.tar.gz";
in { in
imports = [ # Include the results of the hardware scan. {
imports = [
# Include the results of the hardware scan.
./hardware-configuration.nix ./hardware-configuration.nix
<home-manager/nixos> <home-manager/nixos>
@ -51,7 +53,7 @@ in {
home-manager.users.walkah = import "${dotfiles}/home.nix"; home-manager.users.walkah = import "${dotfiles}/home.nix";
system.autoUpgrade.enable = false; system.autoUpgrade.enable = false;
environment.systemPackages = with pkgs; [ docker-compose weechat ]; environment.systemPackages = with pkgs; [ docker-compose pinentry weechat ];
fileSystems."/mnt/downloads" = { fileSystems."/mnt/downloads" = {
device = "192.168.6.100:/volume1/Downloads"; device = "192.168.6.100:/volume1/Downloads";
@ -84,6 +86,7 @@ in {
programs.gnupg.agent = { programs.gnupg.agent = {
enable = true; enable = true;
enableSSHSupport = true; enableSSHSupport = true;
pinentryFlavor = "curses";
}; };
# Enable the OpenSSH daemon. # Enable the OpenSSH daemon.

View File

@ -29,10 +29,10 @@
"homepage": "", "homepage": "",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "45a3f9d7725c7e21b252c223676cc56fb2ed5d6d", "rev": "2d555e5f6529d8485ea7ccdbd3633cf1681eaa2e",
"sha256": "1m1d0n6hk60agsqvqcfn1g3wkzc9ivn8bavzyssi1ap7d1qxlm63", "sha256": "0vfhda0idfdygsrjkyijz5m3ln7569nrph4mcfwlfcvj5b0ns3sl",
"type": "tarball", "type": "tarball",
"url": "https://github.com/NixOS/nixpkgs/archive/45a3f9d7725c7e21b252c223676cc56fb2ed5d6d.tar.gz", "url": "https://github.com/NixOS/nixpkgs/archive/2d555e5f6529d8485ea7ccdbd3633cf1681eaa2e.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz" "url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
}, },
"sops-nix": { "sops-nix": {