diff --git a/config/flake.nix b/config/flake.nix new file mode 100644 index 0000000..fb25742 --- /dev/null +++ b/config/flake.nix @@ -0,0 +1,10 @@ +{ + inputs.nixpkgs.url = "nixpkgs/nixos-23.05"; + + outputs = { self, nixpkgs }: + let + supportedSystems = [ "x86_64-linux" "aarch64-linux" ]; + forAllSystems = nixpkgs.lib.genAttrs supportedSystems; + nixpkgsFor = forAllSystems (system: import nixpkgs { inherit system; }); + in rec { nixpkgs = nixpkgsFor; }; +}