From 5828af9fc19e18dc85e49fcc1a251a7eb25d909c Mon Sep 17 00:00:00 2001 From: Max Audron Date: Fri, 11 Aug 2023 16:51:35 +0200 Subject: init --- flake.nix | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 flake.nix (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..d7bc07e --- /dev/null +++ b/flake.nix @@ -0,0 +1,28 @@ +{ + inputs = { + nixpkgs.url = "github:nixos/nixpkgs/nixos-23.05"; + nixinate.url = "github:matthewcroughan/nixinate"; + }; + + outputs = { self, nixpkgs, nixinate }: { + apps = nixinate.nixinate.aarch64-darwin self; + nixosConfigurations = { + nixos-test = nixpkgs.lib.nixosSystem { + system = "x86_64-linux"; + modules = [ + (import ./machines/nixos-test) + { + _module.args.nixinate = { + host = "10.49.212.3"; + sshUser = "root"; + buildOn = "remote"; + substituteOnTarget = true; + hermetic = false; + }; + } + # ... other configuration ... + ]; + }; + }; + }; +} -- cgit v1.2.3