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