añade fix de nixGL
This commit is contained in:
parent
e18fc7ff28
commit
04a58457f8
7 changed files with 33 additions and 7 deletions
|
@ -6,8 +6,6 @@ with lib;
|
|||
|
||||
config = mkIf ( !config.home.isolation.active ) {
|
||||
|
||||
xsession.enable = true;
|
||||
|
||||
services.picom = {
|
||||
enable = true;
|
||||
};
|
||||
|
|
19
home/gui/startx.nix
Normal file
19
home/gui/startx.nix
Normal file
|
@ -0,0 +1,19 @@
|
|||
{ config, pkgs, lib, ... } :
|
||||
with lib;
|
||||
{
|
||||
config = mkIf ( !config.home.isolation.active ) {
|
||||
xsession.enable = true;
|
||||
|
||||
home.files.".xinitrc".source = let
|
||||
content = if config.local.nixos then ''
|
||||
exec ~/.xsession
|
||||
'' else ''
|
||||
exec ${pkgs.nixgl.nixGLIntel}/bin/nixGLIntel ~/.xsession
|
||||
'';
|
||||
in
|
||||
pkgs.writeShellScript "xinitrc" content;
|
||||
};
|
||||
|
||||
|
||||
|
||||
}
|
Reference in a new issue