2019-07-18 17:29:22 +00:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
|
|
|
let
|
2019-07-18 18:27:13 +00:00
|
|
|
unstable = import <unstable> {};
|
2019-07-18 17:29:22 +00:00
|
|
|
home-manager = builtins.fetchGit {
|
|
|
|
url = "https://github.com/rycee/home-manager.git";
|
|
|
|
rev = "7d68c46feb845c572ef335f824062f90fdebf655";
|
|
|
|
};
|
|
|
|
in {
|
|
|
|
imports = [ "${home-manager}/nixos" ];
|
|
|
|
|
2019-07-18 18:27:13 +00:00
|
|
|
home-manager.users.user.programs = {
|
|
|
|
git = {
|
2019-07-18 17:29:22 +00:00
|
|
|
enable = true;
|
|
|
|
userName = "Mikhail Klementev";
|
|
|
|
userEmail = "blame@dumpstack.io";
|
|
|
|
signing = {
|
|
|
|
signByDefault = true;
|
|
|
|
key = "0x1525585D1B43C62A";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2019-07-18 18:50:00 +00:00
|
|
|
|
|
|
|
home-manager.users.user.home.file.".emacs.d/init.el".source = ./etc/emacs.el;
|
2019-07-18 17:29:22 +00:00
|
|
|
}
|