modularize gui

This commit is contained in:
Fabian Montero 2024-11-28 18:11:35 -06:00
parent 61eb9ed8c5
commit bcd049b8c5
13 changed files with 202 additions and 89 deletions

View file

@ -0,0 +1,16 @@
{
config,
lib,
pkgs,
...
}:
with lib; {
config = mkIf config.local.gui.enable {
home.file.".xinitrc".source = let
content = ''
exec ~/.xsession
'';
in
pkgs.writeShellScript "xinitrc" content;
};
}