add formatter
This commit is contained in:
parent
0d40e2757a
commit
1d76c06fac
@ -45,6 +45,7 @@
|
|||||||
];
|
];
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
formatter.${system} = nixpkgs.legacyPackages.${system}.nixfmt-rfc-style;
|
||||||
nixosConfigurations = nixpkgs.lib.foldl' (
|
nixosConfigurations = nixpkgs.lib.foldl' (
|
||||||
config: hostname:
|
config: hostname:
|
||||||
config
|
config
|
||||||
|
|||||||
@ -64,6 +64,7 @@
|
|||||||
pkgs = (import nixpkgs { });
|
pkgs = (import nixpkgs { });
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
formatter.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.nixfmt-rfc-style;
|
||||||
homeConfigurations."${username}" = home-manager.lib.homeManagerConfiguration {
|
homeConfigurations."${username}" = home-manager.lib.homeManagerConfiguration {
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
extraSpecialArgs = {
|
extraSpecialArgs = {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user