From 543983e9f3d24cadc26bee3e958d92306c960c55 Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Wed, 26 Apr 2023 14:26:39 +0200 Subject: [PATCH] Test flakes --- flake.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 flake.nix diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..0a90a63 --- /dev/null +++ b/flake.nix @@ -0,0 +1,16 @@ +{ + inputs.nixpkgs.url = "github:NixOS/nixpkgs/22.11"; + + outputs = { nixpkgs, ... }: { + nixosConfigurations = { + xeon01 = nixpkgs.lib.nixosSystem { + system = "x86_64-linux"; + modules = [ ./xeon01/configuration.nix ]; + }; + xeon07 = nixpkgs.lib.nixosSystem { + system = "x86_64-linux"; + modules = [ ./xeon07/configuration.nix ]; + }; + }; + }; +}