1
Fork 0
satellite/modules/applications/shells/sessionVariables.nix

21 lines
402 B
Nix
Raw Normal View History

2022-06-18 23:09:21 +02:00
{ pkgs, ... }:
2020-04-10 15:51:16 +02:00
let
2022-06-18 23:09:21 +02:00
theme = pkgs.myThemes.current;
2020-04-10 15:51:16 +02:00
variables = {
2022-02-22 21:52:01 +01:00
# Configure github cli
2020-04-10 15:51:16 +02:00
GITHUB_USERNAME = "Mateiadrielrafael";
2022-02-22 21:52:01 +01:00
# Sets neovim as default editor
EDITOR = "nvim";
2022-07-27 10:00:25 +02:00
PNPM_HOME = "~/.PNPM_HOME";
2020-04-10 15:51:16 +02:00
};
2022-02-22 21:52:01 +01:00
in
{
2022-06-18 23:09:21 +02:00
imports = [{
home-manager.users.adrielus.home.sessionVariables = theme.env or { };
}];
2022-07-19 20:19:36 +02:00
home-manager.users.adrielus.home.sessionVariables = variables;
2022-02-22 21:52:01 +01:00
}