Files
nixos/flake.nix

28 lines
731 B
Nix
Raw Normal View History

2025-10-30 18:26:18 +01:00
{
inputs = {
2025-10-31 15:06:00 +01:00
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable-small";
2025-10-30 18:26:18 +01:00
nix-flatpak = {
url = "github:gmodena/nix-flatpak";
inputs.nixpkgs.follows = "nixpkgs";
};
# Keeping this for the binary cache!
chaotic.url = "github:chaotic-cx/nyx/nyxpkgs-unstable";
};
outputs = { self, nixpkgs, nix-flatpak, chaotic, ... }: {
nixosConfigurations = {
epiquev2 = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
./configuration.nix
nix-flatpak.nixosModules.nix-flatpak
# This module adds the Chaotic overlay AND the necessary binary cache.
chaotic.nixosModules.default
];
};
};
};
}