mirror of
https://github.com/gburd/nix-config.git
synced 2024-10-03 12:16:57 +00:00
home-manager gburd
This commit is contained in:
parent
37ba6126b7
commit
0f73f50309
2 changed files with 7 additions and 17 deletions
|
@ -10,15 +10,16 @@ let
|
|||
};
|
||||
in
|
||||
{
|
||||
# home.packages = pinentry.packages;
|
||||
home.packages = [ pkgs.pinentry-curses ];
|
||||
home.packages = pinentry.packages;
|
||||
# home.packages = [ pkgs.pinentry-curses ];
|
||||
|
||||
services.gpg-agent = {
|
||||
#TODO: gnupg vs gpg-agent ?
|
||||
enable = true;
|
||||
enableSshSupport = true;
|
||||
# sshKeys = [ "149F16412997785363112F3DBD713BC91D51B831" ];
|
||||
pinentryFlavor = pinentry.name;
|
||||
# TODO: sshKeys = [ "149F16412997785363112F3DBD713BC91D51B831" ];
|
||||
# TODO: pinentryFlavor = pinentry.name;
|
||||
pinentryFlavor = "curses";
|
||||
enableExtraSocket = true;
|
||||
};
|
||||
|
||||
|
|
|
@ -1,15 +1,4 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
let
|
||||
pinentry =
|
||||
if config.gtk.enable then {
|
||||
packages = [ pkgs.pinentry-gnome pkgs.gcr ];
|
||||
name = "gnome3";
|
||||
} else {
|
||||
packages = [ pkgs.pinentry-curses ];
|
||||
name = "curses";
|
||||
};
|
||||
in
|
||||
{
|
||||
{ config, lib, pkgs, ... }: {
|
||||
home = {
|
||||
file = {
|
||||
"${config.xdg.configHome}/neofetch/config.conf".text = builtins.readFile ./neofetch.conf;
|
||||
|
@ -176,7 +165,7 @@ in
|
|||
gpg-agent = {
|
||||
enable = true;
|
||||
enableSshSupport = true;
|
||||
pinentryFlavor = pinentry.name;
|
||||
pinentryFlavor = "curses";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue