2022-06-18 23:09:21 +02:00
|
|
|
{ pkgs, ... }:
|
2020-04-10 15:51:16 +02:00
|
|
|
with import ../../../secrets.nix;
|
|
|
|
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";
|
|
|
|
inherit GITHUB_TOKEN;
|
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; };
|
|
|
|
}
|