Fixed emacs lsp issues; general nix cleanup

This commit is contained in:
Random936 2024-09-22 18:17:10 -07:00
parent 6403840eb5
commit cc11a81c03
5 changed files with 9 additions and 9 deletions

View File

@ -12,13 +12,8 @@
# Supported Filesystems
boot.supportedFilesystems = [ "ntfs" ];
# Add kernel drivers for HP Omen Laptop (Fan Control and other)
boot.kernelModules = [ "hp-wmi" ];
# Set hostname
# Hostname and User
networking.hostName = "randomctf";
# Create user
users.users.random = import ./user.nix;
# Enable Nvidia drivers

View File

@ -34,7 +34,10 @@ Below I am installing the actual package and adding some basic configuration.
#+begin_src emacs-lisp
(use-package lsp-ui
:hook (lsp-mode . lsp-ui-mode)
:config (setq lsp-ui-sideline-show-diagnostics t))
:config
(setq lsp-ui-sideline-enable t
lsp-ui-show-diagnostics t
lsp-ui-doc-enable t))
#+end_src
** Company Mode

View File

@ -10,9 +10,11 @@
boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "vmd" "nvme" "usbhid" "usb_storage" "sd_mod" "sdhci_pci" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
# Added kernel drivers for HP Omen Laptop
boot.kernelModules = [ "kvm-intel" "hp-wmi" ];
boot.extraModprobeConfig = ''
options snd-hda-intel model=dell-headset-multi
'';

View File

@ -17,7 +17,6 @@
feh
dconf
docker
cdrkit
discord
wireshark
pavucontrol

View File

@ -16,6 +16,7 @@ in {
# Utilities
jq
bc
dig
file
wget
curl