aboutsummaryrefslogtreecommitdiff
path: root/users/tdback/default.nix
blob: b6dd00c7c33bcaf8c72e6f214acdc83a12b91307 (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
{
  config,
  lib,
  pkgs,
  headless ? true,
  ...
}:
{
  # Hacky way to import our desktop modules if we aren't a headless system.
  imports = (lib.optional (!headless) ./desktop.nix) ++ [
    ./modules/git
    ./modules/shell
  ];

  home = {
    username = "tdback";
    homeDirectory = "/home/tdback";
    stateVersion = "24.05";
    packages = with pkgs.unstable; [
      age
      bat
      croc
      dig
      file
      fzf
      jq
      neovim
      nixd
      ripgrep
      tealdeer
      unzip
      zip
    ];
  };

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