fix install issue

This commit is contained in:
2025-04-21 21:27:22 +08:00
parent b3867b403f
commit 5ca4b9a84b
5 changed files with 572 additions and 9 deletions

View File

@@ -24,7 +24,7 @@
bash = {
initExtra = ''
if [ -z $DISPLAY ] && [ "$(tty)" = "/dev/tty1" ]; then
exec Hyprland
echo 'Hyprland'
fi
'';
};

View File

@@ -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";

View File

@@ -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);
};