export a formatter in flake.nix

This commit is contained in:
Rouven Seifert 2023-02-15 15:16:29 +01:00
parent 4945efdea7
commit 0bd7caccb1
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09

View file

@ -11,6 +11,7 @@
#packages."aarch64-linux".sanddorn = self.nixosConfigurations.sanddorn.config.system.build.sdImage; #packages."aarch64-linux".sanddorn = self.nixosConfigurations.sanddorn.config.system.build.sdImage;
packages."x86_64-linux".quitte = self.nixosConfigurations.quitte-vm.config.system.build.vm; packages."x86_64-linux".quitte = self.nixosConfigurations.quitte-vm.config.system.build.vm;
packages."x86_64-linux".default = self.packages."x86_64-linux".quitte; packages."x86_64-linux".default = self.packages."x86_64-linux".quitte;
formatter.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.nixpkgs-fmt;
nixosConfigurations = { nixosConfigurations = {
birne = nixpkgs.lib.nixosSystem { birne = nixpkgs.lib.nixosSystem {