Manage xsession with home-manager
This commit is contained in:
parent
c93ca6c37a
commit
a83c3d901b
@ -9,7 +9,8 @@ let
|
|||||||
in {
|
in {
|
||||||
imports = [ "${home-manager}/nixos" ];
|
imports = [ "${home-manager}/nixos" ];
|
||||||
|
|
||||||
home-manager.users.user.programs = {
|
home-manager.users.user = {
|
||||||
|
programs = {
|
||||||
git = {
|
git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
userName = "Mikhail Klementev";
|
userName = "Mikhail Klementev";
|
||||||
@ -21,8 +22,12 @@ in {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
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";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user