let hm manage xsession to make .profile unnecessary
This commit is contained in:
@ -44,11 +44,14 @@ in
|
||||
nitrogen
|
||||
xfce.xfce4-screenshooter
|
||||
];
|
||||
xsession.enable = true; # Give gui programs access to sessionVariables
|
||||
xsession.windowManager.i3 = {
|
||||
enable = true;
|
||||
package = pkgs.i3-gaps;
|
||||
};
|
||||
|
||||
xsession.importedVariables = [ ];
|
||||
|
||||
# Overwrite default home-manager config file
|
||||
xdg.configFile."i3/config".source = lib.mkForce (
|
||||
if host == "kardorf" then ./i3/config-kardorf else ./i3/config
|
||||
@ -64,8 +67,5 @@ in
|
||||
};
|
||||
|
||||
home.sessionPath = [ "/home/julian/.config/i3/scripts" ];
|
||||
# home.file = {
|
||||
# ".profile".source = ./.profile;
|
||||
# };
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user