TO
torgeir/nix-home-manager
Nix home manager modules repo, for shared modules I use across darwin and linux
nix home manager modules
A collection of home manager modules shared between torgeir/nix and torgeir/nix-darwin.
how to use
To use these from a nix repo that makes use of home manager, do the following in your ./home/default.nix
{ config, lib, pkgs, inputs, ... }:
let
# clone it
nix-home-manager = builtins.fetchGit {
url = "https://github.com/torgeir/nix-home-manager";
rev = "c1fdc3c3f10104864b60aeef06e967dc8ddcd599";
};
in {
# import its /modules/default.nix
imports = [
(nix-home-manager + "/modules")
];
# enable selected modules
programs.t-emacs.enable = true;
programs.t-nvim.enable = true;
};The above expects home manager to be set up for you user something like this
...
home-manager.users.torgeir = import ./home;
...On this page
Languages
Nix84.3%Vim Script15.7%
Contributors
MIT License
Created November 2, 2024
Updated March 20, 2026