1
0

Manage xsession with home-manager

This commit is contained in:
dump_stack() 2019-07-18 20:01:07 +00:00
parent c93ca6c37a
commit a83c3d901b
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

View File

@ -9,20 +9,25 @@ let
in { in {
imports = [ "${home-manager}/nixos" ]; imports = [ "${home-manager}/nixos" ];
home-manager.users.user.programs = { home-manager.users.user = {
git = { programs = {
enable = true; git = {
userName = "Mikhail Klementev"; enable = true;
userEmail = "blame@dumpstack.io"; userName = "Mikhail Klementev";
signing = { userEmail = "blame@dumpstack.io";
signByDefault = true; signing = {
key = "0x1525585D1B43C62A"; signByDefault = true;
key = "0x1525585D1B43C62A";
};
}; };
}; };
};
home-manager.users.user.home.file = { home.file = {
".emacs.d/init.el".source = ./etc/emacs.el; ".emacs.d/init.el".source = ./etc/emacs.el;
".xmonad/xmonad.hs".source = ./etc/xmonad.hs; ".xmonad/xmonad.hs".source = ./etc/xmonad.hs;
};
xsession.enable = true;
xsession.windowManager.command = "exec xmonad";
}; };
} }