aboutsummaryrefslogtreecommitdiffstats
path: root/modules/home/default.nix
blob: 7f3e820fd205c4cddb575ea43d03ef18c9939a60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{ pkgs, lib, config, dina, ... }:

{
  imports = [
    ./claude.nix
    ./git.nix
    ./ghostty.nix
    ./starship.nix
    ./tmux.nix
    ./lazygit.nix
    ./twm.nix
    ./zsh.nix
  ];

  home = {
    homeDirectory = lib.mkForce (
      if pkgs.stdenv.isDarwin
      then "/Users/${config.home.username}"
      else "/home/${config.home.username}"
    );
    # Do not change this after the first installation
    stateVersion = "24.11";
  };

  home.packages = with pkgs; [
    claude-code
    dina.packages.${pkgs.stdenv.hostPlatform.system}.default
    delta
    forgejo-cli
    fzf
    gh
    ghq
    git-get
    htop
    jq
    kubectl
    lazygit
    nodejs_22
    ripgrep
    starship
    talosctl
    tmux
    tree
    twm
    yq
    go-task
    opencode
  ];

  programs.go.enable = true;

  # Let home-manager manage itself
  programs.home-manager.enable = true;
}