summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
authorKyren223 <Kyren223@proton.me>2024-12-26 17:21:27 +0200
committerKyren223 <Kyren223@proton.me>2024-12-26 17:21:27 +0200
commit8bb6abc6d44981e98288f3d749ae5c82040d98db (patch)
tree5afcb1f37f226f1ee5c37f582304a9cd88a0a93b /hosts
parent3137d24a623e1f96837ebf4f48fded1fff26d4d5 (diff)
Finally added a formatter and LSP for nix
Diffstat (limited to 'hosts')
-rw-r--r--hosts/laptop-nixos/home.nix8
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;
}