1
0
localhost/home-manager.nix

34 lines
761 B
Nix
Raw Normal View History

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 20:01:07 +00:00
home-manager.users.user = {
programs = {
git = {
enable = true;
userName = "Mikhail Klementev";
userEmail = "blame@dumpstack.io";
signing = {
signByDefault = true;
key = "0x1525585D1B43C62A";
};
2019-07-18 17:29:22 +00:00
};
};
2019-07-18 18:50:00 +00:00
2019-07-18 20:01:07 +00:00
home.file = {
".emacs.d/init.el".source = ./etc/emacs.el;
".xmonad/xmonad.hs".source = ./etc/xmonad.hs;
};
xsession.enable = true;
xsession.windowManager.command = "exec xmonad";
2019-07-18 19:51:19 +00:00
};
2019-07-18 17:29:22 +00:00
}