mirror of
https://git.adityakumar.xyz/nix-conf.git
synced 2024-11-21 19:52:52 +00:00
add session variables
This commit is contained in:
parent
7e3273c7a0
commit
4976f85e4b
1 changed files with 13 additions and 0 deletions
13
home.nix
13
home.nix
|
@ -21,6 +21,19 @@
|
|||
nixpkgs.config.allowUnfree = true;
|
||||
nixpkgs.config.joypixels.acceptLicense = true;
|
||||
|
||||
# Manage session variables
|
||||
home.sessionVariables = {
|
||||
# default editor
|
||||
EDITOR = "nvim";
|
||||
|
||||
# sshaskpass
|
||||
SSH_ASKPASS = "/home/user/.nix-profile/bin/ksshaskpass";
|
||||
SSH_ASKPASS_REQUIRE = "prefer";
|
||||
|
||||
# Store git credentials in KDE Wallet
|
||||
GIT_ASKPASS = "/home/user/.nix-profile/bin/ksshaskpass";
|
||||
};
|
||||
|
||||
# The home.packages option allows you to install Nix packages into your
|
||||
# environment.
|
||||
home.packages = with pkgs; [
|
||||
|
|
Loading…
Reference in a new issue