summaryrefslogtreecommitdiff
path: root/home/default.nix
blob: 3687c53fed3abfbf5bc5e734f1a0b5e093c570e2 (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
{ 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;
  };
}