From cf23725f2f60fc1ead31b75ebe52a469d3337a6c Mon Sep 17 00:00:00 2001 From: foxora Date: Sat, 7 Mar 2026 21:05:42 +0000 Subject: [PATCH] hopefully fixed nvme issue --- homes/aurora/default.nix | 3 +- homes/modules/programs/neovim/nixcats.nix | 75 +++++++++---------- .../modules/scripts/hyprland-layout-toggle.sh | 1 + hosts/nixarawrui/default.nix | 8 +- 4 files changed, 42 insertions(+), 45 deletions(-) create mode 100644 homes/modules/scripts/hyprland-layout-toggle.sh diff --git a/homes/aurora/default.nix b/homes/aurora/default.nix index 36aea1f..b99521c 100644 --- a/homes/aurora/default.nix +++ b/homes/aurora/default.nix @@ -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) diff --git a/homes/modules/programs/neovim/nixcats.nix b/homes/modules/programs/neovim/nixcats.nix index 564b652..1030cac 100644 --- a/homes/modules/programs/neovim/nixcats.nix +++ b/homes/modules/programs/neovim/nixcats.nix @@ -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; }; }; }; diff --git a/homes/modules/scripts/hyprland-layout-toggle.sh b/homes/modules/scripts/hyprland-layout-toggle.sh new file mode 100644 index 0000000..f1f641a --- /dev/null +++ b/homes/modules/scripts/hyprland-layout-toggle.sh @@ -0,0 +1 @@ +#!/usr/bin/env bash diff --git a/hosts/nixarawrui/default.nix b/hosts/nixarawrui/default.nix index 4e9c5cd..ee1498c 100644 --- a/hosts/nixarawrui/default.nix +++ b/hosts/nixarawrui/default.nix @@ -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];