32 lines
933 B
Nix
32 lines
933 B
Nix
{
|
|
description = "Live Server Iso with persistent docker storage";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11";
|
|
|
|
home-manager.url = "github:nix-community/home-manager/release-24.11";
|
|
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
nixos-generators.url = "github:nix-community/nixos-generators/7c60ba4bc8d6aa2ba3e5b0f6ceb9fc07bc261565";
|
|
nixos-generators.inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
outputs = { self, nixpkgs, home-manager, nixos-generators, ... }@inputs: let
|
|
system = "x86_64-linux";
|
|
timezone = "America/Chicago";
|
|
locale = "en_US.UTF-8";
|
|
in {
|
|
packages.x86_64-linux = {
|
|
persistent-live-docker-iso = nixos-generators.nixosGenerate {
|
|
system = "x86_64-linux";
|
|
modules = [
|
|
./configuration.nix
|
|
];
|
|
format = "install-iso";
|
|
};
|
|
|
|
default = self.packages.x86_64-linux.persistent-live-docker-iso;
|
|
};
|
|
};
|
|
}
|