init
This commit is contained in:
commit
ed98d55237
3 changed files with 52 additions and 0 deletions
27
flake.lock
generated
Normal file
27
flake.lock
generated
Normal file
|
|
@ -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
|
||||||
|
}
|
||||||
24
flake.nix
Normal file
24
flake.nix
Normal file
|
|
@ -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}" ];
|
||||||
|
};
|
||||||
|
}
|
||||||
|
) {};
|
||||||
|
};
|
||||||
|
}
|
||||||
1
result
Symbolic link
1
result
Symbolic link
|
|
@ -0,0 +1 @@
|
||||||
|
/nix/store/b6dnrw0lx8l8q1r163axba4wg83bwbsw-docker-image-nix-remote-builder.tar.gz
|
||||||
Loading…
Add table
Add a link
Reference in a new issue