nix: switch to alejandra formatter
Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
parent
17b699964c
commit
29972bf2d8
3 changed files with 5 additions and 3 deletions
|
@ -101,8 +101,10 @@
|
|||
|
||||
outputs = inputs: {
|
||||
# TODO: Use forAllSystems
|
||||
# FIXME: nixd always uses nixfmt when importing flakes
|
||||
# https://nix.dev/manual/nix/2.18/command-ref/new-cli/nix3-fmt
|
||||
formatter.x86_64-linux = inputs.nixpkgs-unstable.legacyPackages.x86_64-linux.nixfmt-rfc-style;
|
||||
# https://github.com/kamadorueda/alejandra/blob/main/STYLE.md
|
||||
formatter.x86_64-linux = inputs.nixpkgs-unstable.legacyPackages.x86_64-linux.alejandra;
|
||||
|
||||
nixosConfigurations =
|
||||
let
|
||||
|
|
|
@ -67,9 +67,9 @@ in
|
|||
home = {
|
||||
# Extension dependencies
|
||||
packages = with pkgs; [
|
||||
alejandra # nix-ide
|
||||
blueprint-compiler # blueprint-gtk
|
||||
nixd # nix-ide
|
||||
nixfmt-rfc-style # nix-ide
|
||||
shfmt # shell-format
|
||||
];
|
||||
|
||||
|
|
|
@ -26,11 +26,11 @@ in
|
|||
# CLI applications
|
||||
config.boot.kernelPackages.cpupower # Install for current kernel
|
||||
|
||||
alejandra
|
||||
fd
|
||||
fzf
|
||||
jq
|
||||
lm_sensors # sensors
|
||||
nixfmt-rfc-style # nixfmt
|
||||
nix-output-monitor # nom
|
||||
nix-tree
|
||||
nmap
|
||||
|
|
Loading…
Reference in a new issue