From ed98d5523767828c5d48a0bd539661837c75f665 Mon Sep 17 00:00:00 2001 From: clay53 Date: Fri, 18 Jul 2025 18:43:04 -0400 Subject: [PATCH] init --- flake.lock | 27 +++++++++++++++++++++++++++ flake.nix | 24 ++++++++++++++++++++++++ result | 1 + 3 files changed, 52 insertions(+) create mode 100644 flake.lock create mode 100644 flake.nix create mode 120000 result diff --git a/flake.lock b/flake.lock new file mode 100644 index 0000000..ee8276d --- /dev/null +++ b/flake.lock @@ -0,0 +1,27 @@ +{ + "nodes": { + "nixpkgs": { + "locked": { + "lastModified": 1752687322, + "narHash": "sha256-RKwfXA4OZROjBTQAl9WOZQFm7L8Bo93FQwSJpAiSRvo=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "6e987485eb2c77e5dcc5af4e3c70843711ef9251", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "root": { + "inputs": { + "nixpkgs": "nixpkgs" + } + } + }, + "root": "root", + "version": 7 +} diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..cffc40f --- /dev/null +++ b/flake.nix @@ -0,0 +1,24 @@ +{ + description = "A very basic flake"; + + inputs = { + nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable"; + }; + + outputs = { self, nixpkgs }: + let pkgs = nixpkgs.legacyPackages.x86_64-linux; in + { + packages.x86_64-linux.default = pkgs.callPackage ( + { + dockerTools + }: + dockerTools.buildImage { + name = "nix-remote-builder"; + tag = "latest"; + config = { + Cmd = [ "${pkgs.fastfetch}" ]; + }; + } + ) {}; + }; +} diff --git a/result b/result new file mode 120000 index 0000000..a4f7f3f --- /dev/null +++ b/result @@ -0,0 +1 @@ +/nix/store/b6dnrw0lx8l8q1r163axba4wg83bwbsw-docker-image-nix-remote-builder.tar.gz \ No newline at end of file