Updated formatter

This commit is contained in:
2023-12-19 17:03:36 -04:00
parent 00c013b88b
commit 44099279fe
2 changed files with 17 additions and 17 deletions

View File

@@ -1,7 +1,7 @@
{ pkgs, ... }:
{pkgs, ...}: {
pre-commit.hooks = {
alejandra.enable = true;
};
{
pre-commit.hooks = { nixpkgs-fmt.enable = true; };
packages = with pkgs; [ nixpkgs-fmt nixfmt ];
packages = with pkgs; [nixpkgs-fmt nixfmt];
}

View File

@@ -1,21 +1,21 @@
{ inputs
, system
, config
, pkgs
, home-manager
, ...
}:
{
inputs,
system,
config,
pkgs,
home-manager,
...
}: {
home.packages = with pkgs; [
nil
alejandra
];
programs.vscode = {
extensions = with inputs.nix-vscode-extensions.extensions.${system};
[
vscode-marketplace.jnoortheen.nix-ide
];
extensions = with inputs.nix-vscode-extensions.extensions.${system}; [
vscode-marketplace.jnoortheen.nix-ide
kamadorueda.alejandra
];
userSettings = {
"nix.enableLanguageServer" = true;
"nix.serverPath" = "nil";