diff --git a/nixpkgs/gnupg.nix b/nixpkgs/gnupg.nix index ef018bc..7af5dcb 100644 --- a/nixpkgs/gnupg.nix +++ b/nixpkgs/gnupg.nix @@ -9,6 +9,7 @@ gpg-agent = { enable = true; enableSshSupport = true; + pinentryFlavor = "curses"; }; }; } diff --git a/nixpkgs/home.nix b/nixpkgs/home.nix index e498319..77344c0 100644 --- a/nixpkgs/home.nix +++ b/nixpkgs/home.nix @@ -3,6 +3,7 @@ ./packages.nix ./gnupg.nix ./git.nix + ./variables.nix ]; home.keyboard = { layout = "fr"; diff --git a/nixpkgs/variables.nix b/nixpkgs/variables.nix new file mode 100644 index 0000000..a1a5bb1 --- /dev/null +++ b/nixpkgs/variables.nix @@ -0,0 +1,12 @@ +{ config, pkgs, lib, ... }: +with lib; { +config ={ + home.sessionVariables = { + LESS = "--quit-if-one-screen --RAW-CONTROL-CHARS"; + EDITOR = "vim"; + TERMINAL = "xfce4-terminal"; + BROWSER = "firefox"; + PRIVATE_BROWSER = "firefox -private"; + }; +}; +}