21 lines
436 B
Nix
21 lines
436 B
Nix
{ pkgs, ... }:
|
|
with import ../../../secrets.nix;
|
|
let
|
|
theme = pkgs.myThemes.current;
|
|
variables = {
|
|
# Configure github cli
|
|
GITHUB_USERNAME = "Mateiadrielrafael";
|
|
inherit GITHUB_TOKEN;
|
|
|
|
# Sets neovim as default editor
|
|
EDITOR = "nvim";
|
|
};
|
|
in
|
|
{
|
|
imports = [{
|
|
home-manager.users.adrielus.home.sessionVariables = theme.env or { };
|
|
}];
|
|
|
|
home-manager.users.adrielus = { home.sessionVariables = variables; };
|
|
}
|