NixOS_Television/flake.nix

32 lines
710 B
Nix
Raw Permalink Normal View History

2024-09-21 20:05:15 +00:00
{
inputs = {
nixpkgs.url = "nixpkgs/nixos-24.05";
nixos-generators = {
url = "github:nix-community/nixos-generators";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { self, nixpkgs, nixos-generators, ... }: {
packages.x86_64-linux = {
default = nixos-generators.nixosGenerate {
system = "x86_64-linux";
modules = [
./system
./user.nix
./cage.nix
];
format = "raw-efi";
};
raw-efi = nixos-generators.nixosGenerate {
system = "x86_64-linux";
modules = [
./system
./user.nix
./cage.nix
];
format = "raw-efi";
};
};
};
}