From a881e70ed9b1f6dedfe877a48f59233ce1db4986 Mon Sep 17 00:00:00 2001 From: Himadri Bhattacharjee <107522312+lavafroth@users.noreply.github.com> Date: Sun, 1 Sep 2024 19:19:17 +0530 Subject: [PATCH] feat: nix lsp and nixfmt go into separate module --- hosts/default/configuration.nix | 1 - hosts/default/home.nix | 1 + hosts/default/nixlang.nix | 6 ++++++ 3 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 hosts/default/nixlang.nix diff --git a/hosts/default/configuration.nix b/hosts/default/configuration.nix index ab2d1e0..c933b97 100644 --- a/hosts/default/configuration.nix +++ b/hosts/default/configuration.nix @@ -134,7 +134,6 @@ just libreoffice-fresh mpv - nil nitch ouch openvpn diff --git a/hosts/default/home.nix b/hosts/default/home.nix index 9eff0cb..1b62563 100644 --- a/hosts/default/home.nix +++ b/hosts/default/home.nix @@ -18,6 +18,7 @@ ./shell.nix ./video-editing.nix ./golang.nix + ./nixlang.nix ./zellij.nix # ./hud.nix ]; diff --git a/hosts/default/nixlang.nix b/hosts/default/nixlang.nix new file mode 100644 index 0000000..b7eefc5 --- /dev/null +++ b/hosts/default/nixlang.nix @@ -0,0 +1,6 @@ +{ pkgs, ... }: { + home.packages = with pkgs; [ + nil + nixfmt-rfc-style + ]; +}