Move nixfmt to management devices only

This commit is contained in:
Andreas Zweili 2024-02-05 21:09:12 +01:00
parent d8f1a22cb4
commit 62fa6218ca
3 changed files with 2 additions and 1 deletions

View File

@ -64,7 +64,6 @@
};
shellAliases = {
format-modules = "unstable.nixfmt-rfc-style **/*.nix";
nix-generations = "sudo nix-env --list-generations --profile /nix/var/nix/profiles/system";
rebuild = ''
nixos-rebuild -j auto switch --use-remote-sudo

View File

@ -18,6 +18,7 @@ in
multimarkdown
nodejs_20 # required for copilot
unstable.nixd # Nix language server
unstable.nixfmt-rfc-style
pandoc
ripgrep
shfmt # formatting bash scripts

View File

@ -11,6 +11,7 @@
];
shellAliases = {
unlock-luks = "ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o User=root";
format-modules = "${pkgs.unstable.nixfmt-rfc-style}/bin/nixfmt **/*.nix";
};
};