📑 Treefmt formatter for nix, json, css, sh and more

This commit is contained in:
2025-01-05 20:36:01 +01:00
parent b30376cdcf
commit 573f2c459e
11 changed files with 390 additions and 274 deletions

View File

@ -12,8 +12,13 @@
nodejs
pnpm
gcc # Required for C, Rust and others
# Formatters
# Language servers
nixd
# Formatters
nixfmt-rfc-style
treefmt
nodePackages.prettier
shfmt
];
virtualisation.docker = {

View File

@ -2,9 +2,9 @@
{
programs.steam = {
enable = true;
remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play
dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server
localNetworkGameTransfers.openFirewall = true; # Open ports in the firewall for Steam Local Network Game Transfers
enable = true;
remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play
dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server
localNetworkGameTransfers.openFirewall = true; # Open ports in the firewall for Steam Local Network Game Transfers
};
}

View File

@ -1,16 +1,16 @@
{ pkgs, ... }:
{
stylix = {
enable = true;
image = ../catppuccin.png;
base16Scheme = "${pkgs.base16-schemes}/share/themes/catppuccin-mocha.yaml";
polarity = "dark";
opacity.terminal = 0.8;
override = {
base02 = "b0b0b0"; # Comments in shell
base03 = "b0b0b0"; # Comments in nvim
base04 = "b0b0b0"; # Secondary text in shell
};
stylix = {
enable = true;
image = ../catppuccin.png;
base16Scheme = "${pkgs.base16-schemes}/share/themes/catppuccin-mocha.yaml";
polarity = "dark";
opacity.terminal = 0.8;
override = {
base02 = "b0b0b0"; # Comments in shell
base03 = "b0b0b0"; # Comments in nvim
base04 = "b0b0b0"; # Secondary text in shell
};
};
}