init
This commit is contained in:
commit
ed98d55237
3 changed files with 52 additions and 0 deletions
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}" ];
|
||||
};
|
||||
}
|
||||
) {};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue