forked from pub-solar/os
style: avoid final newlines in secrets/*
format using nixfmt-rfc-style
This commit is contained in:
parent
3a61d04b02
commit
1395a620b4
|
@ -20,6 +20,14 @@ indent_style = unset
|
|||
indent_size = unset
|
||||
|
||||
[{.*,secrets}/**]
|
||||
end_of_line = false
|
||||
insert_final_newline = false
|
||||
trim_trailing_whitespace = unset
|
||||
charset = unset
|
||||
indent_style = unset
|
||||
indent_size = unset
|
||||
|
||||
[*.rom]
|
||||
end_of_line = unset
|
||||
insert_final_newline = unset
|
||||
trim_trailing_whitespace = unset
|
||||
|
|
|
@ -102,6 +102,8 @@
|
|||
};
|
||||
|
||||
flake = {
|
||||
formatter."x86_64-linux" = inputs.unstable.legacyPackages."x86_64-linux".nixfmt-rfc-style;
|
||||
|
||||
deploy.nodes = self.lib.deploy.mkDeployNodes self.nixosConfigurations {
|
||||
#example = {
|
||||
# hostname = "example.com:22";
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
[formatter.nix]
|
||||
command = "alejandra"
|
||||
command = "nix"
|
||||
options = ["fmt"]
|
||||
includes = ["*.nix"]
|
||||
excludes = ["pkgs/_sources/generated.nix"]
|
||||
|
||||
|
|
Loading…
Reference in a new issue