1
0
Fork 0
forked from foxora/nix

hopefully fixed nvme issue

This commit is contained in:
foxora 2026-03-07 21:05:42 +00:00
parent 2a66cb0014
commit cf23725f2f
4 changed files with 42 additions and 45 deletions

View file

@ -109,7 +109,7 @@
exiftool # display and edit metadata on a variety of files exiftool # display and edit metadata on a variety of files
halloy # irc tui app written in rust halloy # irc tui app written in rust
pastel # color generator / manipulator :3 i love colors!! <3 pastel # color generator / manipulator :3 i love colors!! <3
eva # calculator repl eva # calculator repl
silicon # makes pretty images of code :3 silicon # makes pretty images of code :3
# cli fun # cli fun
@ -130,6 +130,7 @@
gleam gleam
delta # git diff viewer delta # git diff viewer
tlrc # tldr rust client tlrc # tldr rust client
shellcheck
# apps # apps
qutebrowser # keyboard-focused browser (chromium) qutebrowser # keyboard-focused browser (chromium)

View file

@ -100,6 +100,9 @@ in {
toml = { toml = {
format = [taplo]; format = [taplo];
}; };
bash = {
lsp = [bash-language-server];
};
}; };
}; };
@ -247,47 +250,37 @@ in {
git = false; # not really setup yet git = false; # not really setup yet
lang = { lang = {
lua = { lua.lsp = true;
lsp = true; lua.format = true;
format = true;
}; nix.lsp = true;
nix = { nix.format = true;
lsp = true; nix.docs = true;
format = true;
docs = true; rust.lsp = true;
}; rust.format = true;
rust = {
lsp = true; zig.lsp = true;
format = true; zig.format = true;
};
zig = { elixir.lsp = true;
lsp = true; elixir.format = true;
format = true;
}; gleam.lsp = true;
elixir = { gleam.format = true;
lsp = true;
format = true; haskell.lsp = true;
}; haskell.format = true;
gleam = {
lsp = true; java.lsp = true;
format = true; java.format = true;
};
haskell = { protobuf.lsp = true;
lsp = true; protobuf.format = true;
format = true;
}; toml.format = true;
java = {
lsp = true; bash.lsp = true;
format = true;
};
protobuf = {
lsp = true;
format = true;
};
toml = {
lsp = true;
format = true;
};
}; };
}; };
}; };

View file

@ -0,0 +1 @@
#!/usr/bin/env bash

View file

@ -33,9 +33,11 @@
"initcall_blacklist=simpledrm_platform_driver_init" "initcall_blacklist=simpledrm_platform_driver_init"
"fbcon=map:0" "fbcon=map:0"
# fixes nvme drive not waking up # stops kernel from setting power states on nvme drives because it keeps
# "nvme_core.default_ps_max_latency_us=0" # disconnecting my drive and my system locks up
# "pcie_port_pm=off" "nvme_core.default_ps_max_latency_us=0"
"pcie_aspm=off"
"pcie_port_pm=off"
]; ];
extraModulePackages = with kernelPackages; [v4l2loopback]; extraModulePackages = with kernelPackages; [v4l2loopback];