Webdav fix and clang lsp in nvim

This commit is contained in:
2025-09-01 01:32:09 +02:00
parent 85fbdb5795
commit 13b8195a91
3 changed files with 42 additions and 24 deletions

View File

@@ -7,6 +7,7 @@
environment = {
sessionVariables = {
NIXOS_OZONE_WL = "1";
LD_LIBRARY_PATH = "${pkgs.libclang.lib}/lib";
QTWEBENGINE_CHROMIUM_FLAGS="--blink-settings=darkModeEnabled=true";
QT_QPA_PLATFORMTHEME = "qt6ct";
WLR_NO_HARDWARE_CURSORS= "1";

View File

@@ -19,16 +19,16 @@
after = [ "network-online.target" ];
wants = [ "network-online.target" ];
what = "https://dav.hahn1.one";
where = "/mnt/webdav";
where = "/home/jonas/webdav";
type = "davfs";
options = "uid=1000,gid=1000,file_mode=0664,dir_mode=2775,_netdev";
options = "uid=1000,gid=1000,file_mode=0664,dir_mode=2775,_netdev"; # What is netdev?
mountConfig.TimeoutSec = "5s";
}];
# Is this too much power drain?
systemd.automounts = [{
description = "Webdav automount";
where = "/mnt/webdav";
where = "/home/jonas/webdav";
wantedBy = [ "multi-user.target" ];
automountConfig = { TimeoutIdleSec = "2m"; };
}];

View File

@@ -3,8 +3,15 @@
{
home.packages = with pkgs; [
weechat
clang
libcxx
just
deno
alacritty
ffmpeg
pavucontrol
android-tools
iamb
wiki-tui
@@ -72,8 +79,18 @@
hyprpaper
tokei
fzf
gcc
glibc
gnumake
ninja
cmake
meson
lld
vscode-langservers-extracted
clang
clang-tools # Provides clangd
cppcheck
lazygit
nodejs
ripgrep