aboutsummaryrefslogtreecommitdiffstats
path: root/modules/home/default.nix
blob: 905c6eab74be6f34765a65e942552dea9e6104db (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
{ 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
    nodejs_22
  ];

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