File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{ config , pkgs , ... } :
22
33{
4- # Define a versão da configuração do home-manager.
5- # Isso ajuda a garantir a compatibilidade futura.
6- home . stateVersion = "25.05" ; # Versão estável mais recente em 2025
4+ home . stateVersion = "25.05" ;
75
86 home . username = builtins . getEnv "USER" ;
97
108 home . homeDirectory = builtins . getEnv "HOME" ;
119
12-
10+ # Env
11+ home . sessionVariables = {
12+ EDITOR = "nvim" ;
13+ } ;
1314
14- # Lista de pacotes que você quer instalar no seu perfil de usuário.
15+ # Programs modules
16+ imports = [
17+ ./programs/python.nix
18+ ./programs/git.nix
19+ ] ;
20+
21+ # Packages
1522 home . packages = with pkgs ; [
16- # Exemplo: Adicione alguns utilitários básicos
17- # ripgrep
18- # fzf
19- # eza
2023 ] ;
21-
22- # Configurações de programas (dotfiles)
23- # Exemplo: Configuração básica do Git
24- # programs.git = {
25- # enable = true;
26- # userName = "Seu Nome";
27- # userEmail = "seu-email@exemplo.com";
28- # extraConfig = {
29- # init.defaultBranch = "main";
30- # };
31- # };
32-
33- # Exemplo: Configuração do Zsh
34- # programs.zsh = {
35- # enable = true;
36- # shellAliases = {
37- # ll = "eza -l";
38- # la = "eza -la";
39- # };
40- # initExtra = ''
41- # # Comandos extras para o seu Zsh
42- # export EDITOR=nvim
43- # '';
44- # };
45-
46- # Outras configurações...
4724}
You can’t perform that action at this time.
0 commit comments