diff options
| author | Kyren223 <Kyren223@proton.me> | 2025-04-23 18:34:02 +0300 |
|---|---|---|
| committer | Kyren223 <Kyren223@proton.me> | 2025-04-23 18:34:02 +0300 |
| commit | bdbde5464800ed814f2749a7cd1a73d35320abad (patch) | |
| tree | 1273117a6c4f884039166cff5c1808b48bbab177 /modules | |
| parent | 9745e7004f4a74b55c5fc1cdd12df2ee7cfc38e4 (diff) | |
Added nix LSP (nil_ls)
I love it, it just works out of the box, unlike nixd which was so broken
I couldn't get it to work, and it's so much more featureful, it has
insane autocompletion for keywords and vars and I can go to
definition/go to references on files/vars etc and it has diagnostics and
shows when there is an error, it's so much better, and it has completion
for nix options
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/common.nix | 2 | ||||
| -rw-r--r-- | modules/kde.nix | 3 | ||||
| -rw-r--r-- | modules/laptop.nix | 4 | ||||
| -rw-r--r-- | modules/networking.nix | 3 |
4 files changed, 4 insertions, 8 deletions
diff --git a/modules/common.nix b/modules/common.nix index e7bd415..0e5fdda 100644 --- a/modules/common.nix +++ b/modules/common.nix @@ -4,7 +4,7 @@ # # #--------------------------------------# -{config, pkgs, ...}: { +{pkgs, ...}: { # User users.users.kyren = { diff --git a/modules/kde.nix b/modules/kde.nix index 833e40d..7b3ea95 100644 --- a/modules/kde.nix +++ b/modules/kde.nix @@ -1,6 +1,5 @@ -{ config, pkgs, ... }: +{ ... }: { -{ # Enable the KDE Plasma Desktop Environment. services.displayManager.sddm.enable = true; services.desktopManager.plasma6.enable = true; diff --git a/modules/laptop.nix b/modules/laptop.nix index 60def67..c5e0409 100644 --- a/modules/laptop.nix +++ b/modules/laptop.nix @@ -1,6 +1,4 @@ -{ config, pkgs, ... }: - -{ +{ ... }: { # battery levels notifier systemd.timers."battery-notifier" = { diff --git a/modules/networking.nix b/modules/networking.nix index 6574955..955e0b1 100644 --- a/modules/networking.nix +++ b/modules/networking.nix @@ -1,6 +1,5 @@ -{ config, pkgs, ... }: +{ ... }: { -{ # Enable networking networking.networkmanager.enable = true; |
