fix install issue
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
bash = {
|
||||
initExtra = ''
|
||||
if [ -z $DISPLAY ] && [ "$(tty)" = "/dev/tty1" ]; then
|
||||
exec Hyprland
|
||||
echo 'Hyprland'
|
||||
fi
|
||||
'';
|
||||
};
|
||||
|
||||
@@ -20,8 +20,8 @@
|
||||
|
||||
# for hyprland with nvidia gpu, ref https://wiki.hyprland.org/Nvidia/
|
||||
# 启用注释部分会导致NVIDIA下无法启动hyprland
|
||||
# WLR_DRM_DEVICES = "/dev/dri/card1:/dev/dri/card0";
|
||||
# WLR_EGL_NO_MODIFIRES = "1";
|
||||
WLR_DRM_DEVICES = "/dev/dri/card1:/dev/dri/card0";
|
||||
WLR_EGL_NO_MODIFIRES = "1";
|
||||
WLR_NO_HARDWARE_CURSORS = "1"; # if no cursor,uncomment this line
|
||||
WLR_RENDERER_ALLOW_SOFTWARE = "1";
|
||||
# WLR_RENDERER = "vulkan";
|
||||
|
||||
@@ -16,12 +16,6 @@
|
||||
jnoortheen.nix-ide
|
||||
pkief.material-icon-theme
|
||||
] ++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [
|
||||
{
|
||||
name = "vscode-augment";
|
||||
publisher = "augment";
|
||||
version = "0.409.1";
|
||||
sha256 = "erRg/C0qSrPg0cK2qmnULOnFGj/mVQTyBy5Kyj1ZfVw=";
|
||||
}
|
||||
];
|
||||
userSettings = builtins.fromJSON (builtins.readFile ./settings.json);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user