infrastructure/config/users/kat/dev/rustfmt.nix
2021-08-22 00:20:20 +01:00

15 lines
259 B
Nix

{ config, pkgs, ... }:
{
xdg.configFile."rustfmt/rustfmt.toml".text = ''
# SPDX-FileCopyrightText: V <v@anomalous.eu>
# SPDX-License-Identifier: OSL-3.0
hard_tabs = true
imports_granularity = "One"
'';
home.packages = with pkgs; [
rustfmt
];
}