Commit graph

16 commits

Author SHA1 Message Date
Robert Helgesson
41903a14b0
Remove a few format exceptions 2021-07-18 23:34:50 +02:00
Sumner Evans
55ef8d3a10
format: remove exception for keybase and kbfs modules 2021-04-29 00:49:01 +02:00
Sumner Evans
2d421b30ad
format: removed exceptions already formatted files (#1954)
Removed format exclusion exceptions for modules that are already
formatted correctly (that is, when running nixfmt, no changes happen) or
have been moved (in the case of i3.nix).
2021-04-28 21:59:51 +02:00
Sumner Evans
b706d101eb
format: remove exception for afew module (#1955) 2021-04-28 21:58:49 +02:00
Robert Helgesson
7fcfd9b565
home-manager: format home-manager/default.nix 2021-04-07 21:09:27 +02:00
Robert Helgesson
8b3fca4ec5
dconf: format file 2020-12-21 23:22:22 +01:00
Robert Helgesson
e7d5531cfa
vscode: apply nixfmt 2020-10-12 22:51:12 +02:00
Robert Helgesson
aecd4acfb4
neovim: apply nixfmt 2020-10-12 22:50:49 +02:00
Robert Helgesson
2ed978eb79
systemd: apply nixfmt to test root file 2020-05-25 00:47:29 +02:00
Robert Helgesson
31ed6f1604
gtk: apply nixfmt 2020-05-25 00:46:58 +02:00
Robert Helgesson
ac6235e53d
emacs: apply nixfmt 2020-05-25 00:45:51 +02:00
Robert Helgesson
70f7c9f355
alot: apply nixfmt 2020-05-01 22:33:05 +02:00
Robert Helgesson
a128e35927
Update nixfmt and apply to a few more files 2020-04-06 12:51:11 +02:00
Robert Helgesson
2678fb3441
format: pin Nixpkgs version
This is to make sure that we get a consistent version of nixfmt.
2020-03-04 19:36:07 +01:00
Robert Helgesson
543118ac70
fish: apply nixfmt 2020-02-20 00:16:01 +01:00
Robert Helgesson
70af3b126a
ci: add format script and use in CI pipeline
The format script can be used to automatically format the Nix source
files and also verify that the files are formatted using the `-c`
command argument.

At the moment some files are exempt from the formatting to avoid
causing merge conflicts in active pull requests.

Finally, update the contribution guidelines to note that `nixfmt`
should be used.
2020-02-02 01:19:35 +01:00