add session variables

This commit is contained in:
Aditya 2023-06-07 12:09:37 +05:30
parent 7e3273c7a0
commit 4976f85e4b
Signed by: aditya
SSH key fingerprint: SHA256:jL1IvWsjjlPtw6HvDIHfXfhO9IkIokNEyIfuFhSdoyU

View file

@ -21,6 +21,19 @@
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
nixpkgs.config.joypixels.acceptLicense = 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 # The home.packages option allows you to install Nix packages into your
# environment. # environment.
home.packages = with pkgs; [ home.packages = with pkgs; [