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

19 lines
376 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";
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-02-22 21:52:01 +01:00
home-manager.users.adrielus = { home.sessionVariables = variables; };
}