NixOS_Television/flake.nix

32 lines
710 B
Nix

{
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";
};
};
};
}