nix_config/home/modules/gui/startx.nix

17 lines
243 B
Nix
Raw Normal View History

2024-11-29 01:11:35 +01:00
{
config,
lib,
pkgs,
...
}:
with lib; {
config = mkIf config.local.gui.enable {
home.file.".xinitrc".source = let
content = ''
exec ~/.xsession
'';
in
pkgs.writeShellScript "xinitrc" content;
};
}