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 # Supported Filesystems
boot.supportedFilesystems = [ "ntfs" ]; boot.supportedFilesystems = [ "ntfs" ];
# Add kernel drivers for HP Omen Laptop (Fan Control and other) # Hostname and User
boot.kernelModules = [ "hp-wmi" ];
# Set hostname
networking.hostName = "randomctf"; networking.hostName = "randomctf";
# Create user
users.users.random = import ./user.nix; users.users.random = import ./user.nix;
# Enable Nvidia drivers # 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 #+begin_src emacs-lisp
(use-package lsp-ui (use-package lsp-ui
:hook (lsp-mode . lsp-ui-mode) :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 #+end_src
** Company Mode ** 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.availableKernelModules = [ "xhci_pci" "thunderbolt" "vmd" "nvme" "usbhid" "usb_storage" "sd_mod" "sdhci_pci" ];
boot.initrd.kernelModules = [ ]; boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
# Added kernel drivers for HP Omen Laptop
boot.kernelModules = [ "kvm-intel" "hp-wmi" ];
boot.extraModprobeConfig = '' boot.extraModprobeConfig = ''
options snd-hda-intel model=dell-headset-multi options snd-hda-intel model=dell-headset-multi
''; '';

View File

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

View File

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