summaryrefslogtreecommitdiff
path: root/home/default.nix
blob: f0aa53b1551b330984e85b96499d7248b1f4b1ad (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
{ flakeInputs, 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 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
      ];

    xdg.enable = true;
  };
}