diff options
| author | Kyren223 <Kyren223@proton.me> | 2024-12-26 17:21:27 +0200 |
|---|---|---|
| committer | Kyren223 <Kyren223@proton.me> | 2024-12-26 17:21:27 +0200 |
| commit | 8bb6abc6d44981e98288f3d749ae5c82040d98db (patch) | |
| tree | 5afcb1f37f226f1ee5c37f582304a9cd88a0a93b /hosts | |
| parent | 3137d24a623e1f96837ebf4f48fded1fff26d4d5 (diff) | |
Finally added a formatter and LSP for nix
Diffstat (limited to 'hosts')
| -rw-r--r-- | hosts/laptop-nixos/home.nix | 8 |
1 files changed, 6 insertions, 2 deletions
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; } |
