Fixed emacs lsp issues; general nix cleanup
This commit is contained in:
parent
6403840eb5
commit
cc11a81c03
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
'';
|
||||
|
@ -17,7 +17,6 @@
|
||||
feh
|
||||
dconf
|
||||
docker
|
||||
cdrkit
|
||||
discord
|
||||
wireshark
|
||||
pavucontrol
|
||||
|
@ -16,6 +16,7 @@ in {
|
||||
# Utilities
|
||||
jq
|
||||
bc
|
||||
dig
|
||||
file
|
||||
wget
|
||||
curl
|
||||
|
Loading…
x
Reference in New Issue
Block a user