summaryrefslogtreecommitdiff
path: root/home/default.nix
blob: 2c43efbc7e034f120d05d926caebe02fbbad1bad (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
{
  flakeInputs,
  flakeOutputs,
  metadata,
  ...
}: {
  # Use the flake input pkgs so Home Manager configuration can share overlays
  # etc. with the rest of the configuration.
  home-manager.useGlobalPkgs = true;

  # Pass special arguments from flake.nix further down the chain. I really hate
  # this split module system.
  home-manager.extraSpecialArgs = {inherit flakeInputs flakeOutputs metadata;};

  # OKAY FUCK THIS SHIT. THERE IS ONE USER. IT IS ME. LINUS. I WILL ADD
  # MULTIUSER SUPPORT IF IT EVER BECOMES A REQUIREMENT.
  home-manager.users.linus = {
    imports = [
      ./neovim
      ./zsh
      ./git
      ./dev-utils
    ];

    xdg.enable = true;
  };
}