summaryrefslogtreecommitdiff
path: root/home/default.nix
blob: b9e0b72beac65b58d14d3c71dad2170fc0c7194e (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
{ self, 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 self 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
        ./dev-utils
      ];

    xdg.enable = true;
  };
}