From e81707eb1bbee79e1f55a4c922aaa3a4615e984e Mon Sep 17 00:00:00 2001 From: stubbfel Date: Sat, 10 Jun 2023 14:24:44 +0000 Subject: [PATCH] aad config --- config/flake.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 config/flake.nix 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; }; +}