aboutsummaryrefslogtreecommitdiff
path: root/users/tdback/default.nix
blob: 845742815f6705ec53a3c623cfdce15c53e8f565 (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
{ 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;
}