!9IQChSjwSHXPPWTa:lix.systems

Lix

1103 Members
Lix user channel. Feel free to discuss on-topic issues here and give each other help. For matrix.to links to the rest of the Lix channels, see: https://wiki.lix.systems/books/lix-organisation/page/matrix-rooms293 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
25 Oct 2025
@llakala:matrix.orgllakalai still don't use a formatter for my config because i can't stand any of them15:25:10
@llakala:matrix.orgllakalanixfmt is addicted to indentation15:25:16
@llakala:matrix.orgllakalai generally think nixfmt is good at what it was designed for (being a nixpkgs formatter)15:26:18
@llakala:matrix.orgllakala

but little things, like this:

{ lib, pkgs, config, ... }:

becoming this:

{
  lib,
  pkgs,
  config,
  ...
}:
15:29:00
@llakala:matrix.orgllakala

and this:

let
  # let content
in {

becoming this:

let
  # let content
in
{
15:30:21
@llakala:matrix.orgllakalaare the kind of things i can't stand15:30:35
@llakala:matrix.orgllakalamy biggest issue was fixed recently, which i'm thankful for15:31:04
@llakala:matrix.orgllakala(strings with comments for injections don't get indented anymore15:31:19
@llakala:matrix.orgllakala* (strings with comments for injections don't get indented anymore)15:31:24
@aftix:matrix.orgaftixI use alejandra15:31:24
@llakala:matrix.orgllakalai can't deal with alejandra not putting spaces around list elements15:31:56
@aftix:matrix.orgaftixwdym? like between the first/last element and the brackets?15:33:30
@llakala:matrix.orgllakala

before:

{
  x = [ 1 ];
}

after:

{
  x = [1];
}

15:34:38
@saiko:knifepoint.netKatalin 🔪that’s how lists are formatted pretty much in every other language though, I prefer that style. however I don’t like it not putting spaces inside {} haha15:48:45
@piegames:flausch.socialpiegamesyou can't reasonably have that in Nix, unfortunately18:04:18
@saiko:knifepoint.netKatalin 🔪 oh? why not? 18:05:54
@saiko:knifepoint.netKatalin 🔪 part of the parser design that makes this not work? apparently the parser is pretty cursed 18:06:54
@piegames:flausch.socialpiegameshttps://github.com/NixOS/rfcs/pull/148#issuecomment-321817736418:08:03

Show newer messages


Back to Room ListRoom Version: 10