aboutsummaryrefslogtreecommitdiff
path: root/users/tdback/default.nix
blob: ea74adb6ac4fb41d965482d547709f480c630f70 (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
39
# users/tdback/default.nix
#
# Home-manager configuration for all of my systems.

{
  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; [
      bat
      dig
      file
      jq
      ripgrep
      unzip
      zip
      # Experiment with uutils as the default implementation of coreutils.
      # Ensure they take a higher priority over the default GNU implementation.
      (lib.hiPrio uutils-coreutils-noprefix)
    ];
  };

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