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

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

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

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

  # Link neovim config (managed as a git submodule)
  home.file.".config/nvim".source = ../../nvim/.config/nvim;
}