summaryrefslogtreecommitdiff
path: root/home/default.nix
diff options
context:
space:
mode:
authorLinnnus <[email protected]>2023-09-07 16:53:41 +0200
committerLinnnus <[email protected]>2023-09-07 16:53:41 +0200
commitedcc3acea595d3045253c3c2fe2462599c1c54e0 (patch)
tree81e17fc5fe4f0a52d30e8d0209c6080cc77eda32 /home/default.nix
parentd31d1bae8c38e145cdbafe105401d9528b416779 (diff)
Reorganize everything
Diffstat (limited to 'home/default.nix')
-rw-r--r--home/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/home/default.nix b/home/default.nix
new file mode 100644
index 0000000..f0aa53b
--- /dev/null
+++ b/home/default.nix
@@ -0,0 +1,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;
+ };
+}