summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
authorKyren223 <Kyren223@proton.me>2025-04-23 18:34:02 +0300
committerKyren223 <Kyren223@proton.me>2025-04-23 18:34:02 +0300
commitbdbde5464800ed814f2749a7cd1a73d35320abad (patch)
tree1273117a6c4f884039166cff5c1808b48bbab177 /hosts
parent9745e7004f4a74b55c5fc1cdd12df2ee7cfc38e4 (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 'hosts')
-rw-r--r--hosts/hardware-configuration-laptop.nix2
-rw-r--r--hosts/home.nix2
-rw-r--r--hosts/lapsktop.nix2
-rw-r--r--hosts/laptop.nix2
4 files changed, 4 insertions, 4 deletions
diff --git a/hosts/hardware-configuration-laptop.nix b/hosts/hardware-configuration-laptop.nix
index 5dbd889..327f8c8 100644
--- a/hosts/hardware-configuration-laptop.nix
+++ b/hosts/hardware-configuration-laptop.nix
@@ -1,7 +1,7 @@
# Do not modify this file! It was generated by ‘nixos-generate-config’
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
-{ config, lib, pkgs, modulesPath, ... }:
+{ config, lib, modulesPath, ... }:
{
imports =
diff --git a/hosts/home.nix b/hosts/home.nix
index 2bec371..ac9520e 100644
--- a/hosts/home.nix
+++ b/hosts/home.nix
@@ -1,4 +1,4 @@
-{ config, pkgs, inputs, ... }: {
+{ pkgs, inputs, ... }: {
home.username = "kyren";
home.homeDirectory = "/home/kyren";
diff --git a/hosts/lapsktop.nix b/hosts/lapsktop.nix
index c9eea83..bf25017 100644
--- a/hosts/lapsktop.nix
+++ b/hosts/lapsktop.nix
@@ -1,4 +1,4 @@
-{ config, pkgs, inputs, ... }: {
+{ pkgs, inputs, ... }: {
imports = [
./hardware-configuration-laptop.nix
diff --git a/hosts/laptop.nix b/hosts/laptop.nix
index c9eea83..bf25017 100644
--- a/hosts/laptop.nix
+++ b/hosts/laptop.nix
@@ -1,4 +1,4 @@
-{ config, pkgs, inputs, ... }: {
+{ pkgs, inputs, ... }: {
imports = [
./hardware-configuration-laptop.nix