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

@@ -1,29 +1,30 @@
{ pkgs, ... }: { pkgs, ... }:
{ {
# Basic services # Basic services
services.printing.enable = true; services.printing.enable = true;
environment = { environment = {
sessionVariables = { sessionVariables = {
NIXOS_OZONE_WL = "1"; NIXOS_OZONE_WL = "1";
QTWEBENGINE_CHROMIUM_FLAGS="--blink-settings=darkModeEnabled=true"; LD_LIBRARY_PATH = "${pkgs.libclang.lib}/lib";
QT_QPA_PLATFORMTHEME = "qt6ct"; QTWEBENGINE_CHROMIUM_FLAGS="--blink-settings=darkModeEnabled=true";
WLR_NO_HARDWARE_CURSORS= "1"; QT_QPA_PLATFORMTHEME = "qt6ct";
QT_STYLE_OVERRIDE = "kvantum"; WLR_NO_HARDWARE_CURSORS= "1";
QT_QPA_PLATFORM="xcb"; QT_STYLE_OVERRIDE = "kvantum";
}; QT_QPA_PLATFORM="xcb";
}; };
};
fonts.packages = with pkgs; [ fonts.packages = with pkgs; [
nerd-fonts.fira-code nerd-fonts.fira-code
]; ];
services.xserver.displayManager.gdm.enable = true; # We are pre 25.11 services.xserver.displayManager.gdm.enable = true; # We are pre 25.11
programs = { programs = {
hyprland.enable = true; hyprland.enable = true;
firefox.enable = true; firefox.enable = true;
}; };
} }

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