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 = { environment = {
sessionVariables = { sessionVariables = {
NIXOS_OZONE_WL = "1"; NIXOS_OZONE_WL = "1";
LD_LIBRARY_PATH = "${pkgs.libclang.lib}/lib";
QTWEBENGINE_CHROMIUM_FLAGS="--blink-settings=darkModeEnabled=true"; QTWEBENGINE_CHROMIUM_FLAGS="--blink-settings=darkModeEnabled=true";
QT_QPA_PLATFORMTHEME = "qt6ct"; QT_QPA_PLATFORMTHEME = "qt6ct";
WLR_NO_HARDWARE_CURSORS= "1"; WLR_NO_HARDWARE_CURSORS= "1";

View File

@@ -19,16 +19,16 @@
after = [ "network-online.target" ]; after = [ "network-online.target" ];
wants = [ "network-online.target" ]; wants = [ "network-online.target" ];
what = "https://dav.hahn1.one"; what = "https://dav.hahn1.one";
where = "/mnt/webdav"; where = "/home/jonas/webdav";
type = "davfs"; 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"; mountConfig.TimeoutSec = "5s";
}]; }];
# Is this too much power drain? # Is this too much power drain?
systemd.automounts = [{ systemd.automounts = [{
description = "Webdav automount"; description = "Webdav automount";
where = "/mnt/webdav"; where = "/home/jonas/webdav";
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];
automountConfig = { TimeoutIdleSec = "2m"; }; automountConfig = { TimeoutIdleSec = "2m"; };
}]; }];

View File

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