aboutsummaryrefslogtreecommitdiff
path: root/home-manager/format
diff options
context:
space:
mode:
Diffstat (limited to 'home-manager/format')
-rwxr-xr-xhome-manager/format11
1 files changed, 1 insertions, 10 deletions
diff --git a/home-manager/format b/home-manager/format
index 539ae60de22..8c771b6db7d 100755
--- a/home-manager/format
+++ b/home-manager/format
@@ -1,5 +1,5 @@
#! /usr/bin/env nix-shell
-#! nix-shell -i bash -p findutils nixfmt
+#! nix-shell -I nixpkgs=https://github.com/NixOS/nixpkgs/archive/05f0934825c2a0750d4888c4735f9420c906b388.tar.gz -i bash -p findutils nixfmt
CHECK_ARG=
@@ -20,26 +20,20 @@ find . -name '*.nix' \
\
! -path ./home-manager/default.nix \
! -path ./home-manager/home-manager.nix \
- ! -path ./modules/accounts/email.nix \
! -path ./modules/default.nix \
! -path ./modules/files.nix \
! -path ./modules/home-environment.nix \
! -path ./modules/lib/default.nix \
! -path ./modules/lib/file-type.nix \
- ! -path ./modules/lib/types.nix \
! -path ./modules/manual.nix \
! -path ./modules/misc/dconf.nix \
- ! -path ./modules/misc/gtk.nix \
! -path ./modules/misc/news.nix \
! -path ./modules/misc/nixpkgs.nix \
! -path ./modules/misc/xdg.nix \
! -path ./modules/modules.nix \
! -path ./modules/programs/afew.nix \
- ! -path ./modules/programs/alot.nix \
! -path ./modules/programs/bash.nix \
- ! -path ./modules/programs/emacs.nix \
! -path ./modules/programs/firefox.nix \
- ! -path ./modules/programs/fish.nix \
! -path ./modules/programs/gpg.nix \
! -path ./modules/programs/lesspipe.nix \
! -path ./modules/programs/neovim.nix \
@@ -60,11 +54,8 @@ find . -name '*.nix' \
! -path ./tests/modules/home-environment/session-variables.nix \
! -path ./tests/modules/programs/gpg/override-defaults.nix \
! -path ./tests/modules/programs/tmux/default.nix \
- ! -path ./tests/modules/programs/tmux/disable-confirmation-prompt.nix \
- ! -path ./tests/modules/programs/tmux/secure-socket-enabled.nix \
! -path ./tests/modules/programs/zsh/session-variables.nix \
! -path ./tests/modules/services/sxhkd/service.nix \
- ! -path ./tests/modules/systemd/default.nix \
! -path ./tests/modules/systemd/services.nix \
! -path ./tests/modules/systemd/session-variables.nix \
-exec nixfmt $CHECK_ARG {} +