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