Update Zed configuration for nix LSP and formatter.

This commit is contained in:
2025-11-23 16:34:22 +01:00
parent 2be712393f
commit 900b565405
114 changed files with 2311 additions and 2408 deletions

View File

@@ -4,18 +4,16 @@
config,
...
}:
with lib;
let
with lib; let
cfg = config.drivers.amdgpu;
in
{
in {
options.drivers.amdgpu = {
enable = mkEnableOption "Enable AMD Drivers";
};
config = mkIf cfg.enable {
systemd.tmpfiles.rules = [ "L+ /opt/rocm/hip - - - - ${pkgs.rocmPackages.clr}" ];
services.xserver.videoDrivers = [ "amdgpu" ];
environment.systemPackages = with pkgs; [ rocmPackages.rocm-smi ];
systemd.tmpfiles.rules = ["L+ /opt/rocm/hip - - - - ${pkgs.rocmPackages.clr}"];
services.xserver.videoDrivers = ["amdgpu"];
environment.systemPackages = with pkgs; [rocmPackages.rocm-smi];
};
}