Skip to content

torgeir/nix-home-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

150 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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;

...

About

Nix home manager modules repo, for shared modules I use across darwin and linux

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors