ADD : variables.nix - load global variable. Not use by fish

FIX : gnupg.nix - add pinentry
alacritty
Alexandre LUCAZEAU 2021-12-17 12:30:51 +01:00
parent 89a5a3cb66
commit 6b52fb70ed
3 changed files with 14 additions and 0 deletions

View File

@ -9,6 +9,7 @@
gpg-agent = {
enable = true;
enableSshSupport = true;
pinentryFlavor = "curses";
};
};
}

View File

@ -3,6 +3,7 @@
./packages.nix
./gnupg.nix
./git.nix
./variables.nix
];
home.keyboard = {
layout = "fr";

12
nixpkgs/variables.nix Normal file
View File

@ -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";
};
};
}