✨ [shared] Formatters in their own file
This commit is contained in:
parent
e515408ef2
commit
3c5484f1a1
@ -97,7 +97,7 @@
|
||||
defaultAttrs = {
|
||||
user = {
|
||||
name = common.username;
|
||||
password = "temp";
|
||||
password = "temp"; # TODO
|
||||
};
|
||||
version = common.system.version;
|
||||
wayland.enable = true;
|
||||
|
@ -1,12 +1,11 @@
|
||||
{ pkgs, ... }:
|
||||
{ pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
(lib.custom.relativeToRoot "shared/modules/development/formatters.nix")
|
||||
];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
# Tools
|
||||
just
|
||||
# Formatters
|
||||
treefmt
|
||||
shfmt
|
||||
nodePackages.prettier
|
||||
];
|
||||
}
|
||||
|
@ -4,6 +4,7 @@
|
||||
imports = [
|
||||
./docker.nix
|
||||
./dotnet.nix
|
||||
./formatters.nix
|
||||
./nix.nix
|
||||
./node.nix
|
||||
./ollama.nix
|
||||
@ -17,8 +18,5 @@
|
||||
git
|
||||
just
|
||||
unstable.libpq # Required for PostgreSQL
|
||||
# Formatters
|
||||
treefmt
|
||||
shfmt
|
||||
];
|
||||
}
|
||||
|
9
shared/modules/development/formatters.nix
Normal file
9
shared/modules/development/formatters.nix
Normal file
@ -0,0 +1,9 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
nodePackages.prettier
|
||||
treefmt
|
||||
shfmt
|
||||
];
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user