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
halloy # irc tui app written in rust
pastel # color generator / manipulator :3 i love colors!! <3
eva # calculator repl
eva # calculator repl
silicon # makes pretty images of code :3
# cli fun
@ -130,6 +130,7 @@
gleam
delta # git diff viewer
tlrc # tldr rust client
shellcheck
# apps
qutebrowser # keyboard-focused browser (chromium)

View file

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

View file

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

View file

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