From 8bb6abc6d44981e98288f3d749ae5c82040d98db Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Thu, 26 Dec 2024 17:21:27 +0200 Subject: Finally added a formatter and LSP for nix --- hosts/laptop-nixos/home.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'hosts/laptop-nixos') diff --git a/hosts/laptop-nixos/home.nix b/hosts/laptop-nixos/home.nix index 1371966..f4e9958 100644 --- a/hosts/laptop-nixos/home.nix +++ b/hosts/laptop-nixos/home.nix @@ -1,4 +1,4 @@ -{ config, pkgs, ... }: +{ config, pkgs, inputs, ... }: { home.username = "kyren"; @@ -78,8 +78,13 @@ gitleaks rar gomodifytags + nixfmt-rfc-style + alejandra + nixd ]; + nix.nixPath = ["nixpkgs=${inputs.nixpkgs}"]; + # Home Manager is pretty good at managing dotfiles. The primary way to manage # plain files is through 'home.file'. home.file = { @@ -114,7 +119,6 @@ }; }; - # Let Home Manager install and manage itself. programs.home-manager.enable = true; } -- cgit v1.3.1