aboutsummaryrefslogtreecommitdiffstats
path: root/modules/home/default.nix
blob: 66c6905fcc7bed9f7692ed59076cea9427663111 (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
{ pkgs, lib, config, ... }:

{
  imports = [
    ./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";
  };

  nixpkgs.config.allowUnfree = true;

  home.packages = with pkgs; [
    claude-code
    git-get
    nodejs_22
  ];

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