32 lines
742 B
Nix
32 lines
742 B
Nix
{
|
|
description = "Reusable NixOS gaming desktop template with selectable desktop and GPU modules";
|
|
|
|
nixConfig = {
|
|
extra-substituters = [
|
|
"https://nyx-cache.chaotic.cx/"
|
|
];
|
|
extra-trusted-public-keys = [
|
|
"nyx-cache.chaotic.cx:dJxTrgMC3V3cFfyIiBQDQorG6k1LsqurH/srpMSq7qk="
|
|
];
|
|
};
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
chaotic.url = "github:chaotic-cx/nyx/nyxpkgs-unstable";
|
|
};
|
|
|
|
outputs =
|
|
{ nixpkgs, chaotic, ... }:
|
|
{
|
|
nixosConfigurations = {
|
|
template = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
modules = [
|
|
chaotic.nixosModules.default
|
|
./configuration.nix
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|