commit 4dffbe1dd4b0d7eafa111e4cff70235f250848a3 Author: William P Date: Fri Aug 1 12:39:00 2025 -0400 initial commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e2f5dd2 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +result \ No newline at end of file diff --git a/flake.lock b/flake.lock new file mode 100644 index 0000000..4ee116e --- /dev/null +++ b/flake.lock @@ -0,0 +1,26 @@ +{ + "nodes": { + "nixpkgs": { + "locked": { + "lastModified": 1753749649, + "narHash": "sha256-+jkEZxs7bfOKfBIk430K+tK9IvXlwzqQQnppC2ZKFj4=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "1f08a4df998e21f4e8be8fb6fbf61d11a1a5076a", + "type": "github" + }, + "original": { + "id": "nixpkgs", + "ref": "nixos-25.05", + "type": "indirect" + } + }, + "root": { + "inputs": { + "nixpkgs": "nixpkgs" + } + } + }, + "root": "root", + "version": 7 +} diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..82e96b4 --- /dev/null +++ b/flake.nix @@ -0,0 +1,13 @@ +{ + description = "A mini Linux environment using Nix without NixOS"; + + inputs = { + nixpkgs.url = "nixpkgs/nixos-25.05"; + }; + outputs = {self, nixpkgs }: { + packages.x86_64-linux.hello = + nixpkgs.legacyPackages.x86_64-linux.hello; + + packages.x86_64-linux.default = self.packages.x86_64-linux.hello; + }; +} \ No newline at end of file