Move nixfmt to management devices only
This commit is contained in:
parent
d8f1a22cb4
commit
62fa6218ca
|
@ -64,7 +64,6 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
format-modules = "unstable.nixfmt-rfc-style **/*.nix";
|
|
||||||
nix-generations = "sudo nix-env --list-generations --profile /nix/var/nix/profiles/system";
|
nix-generations = "sudo nix-env --list-generations --profile /nix/var/nix/profiles/system";
|
||||||
rebuild = ''
|
rebuild = ''
|
||||||
nixos-rebuild -j auto switch --use-remote-sudo
|
nixos-rebuild -j auto switch --use-remote-sudo
|
||||||
|
|
|
@ -18,6 +18,7 @@ in
|
||||||
multimarkdown
|
multimarkdown
|
||||||
nodejs_20 # required for copilot
|
nodejs_20 # required for copilot
|
||||||
unstable.nixd # Nix language server
|
unstable.nixd # Nix language server
|
||||||
|
unstable.nixfmt-rfc-style
|
||||||
pandoc
|
pandoc
|
||||||
ripgrep
|
ripgrep
|
||||||
shfmt # formatting bash scripts
|
shfmt # formatting bash scripts
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
];
|
];
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
unlock-luks = "ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o User=root";
|
unlock-luks = "ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o User=root";
|
||||||
|
format-modules = "${pkgs.unstable.nixfmt-rfc-style}/bin/nixfmt **/*.nix";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue