{
inputs = {
nixos-hardware.url = "github:NixOS/nixos-hardware";
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11";
nur.url = "github:nix-community/NUR";
agenix = {
url = "github:ryantm/agenix";
home-manager.follows = "home-manager";
nixpkgs.follows = "nixpkgs";
};
home-manager = {
url = "github:nix-community/home-manager/release-23.11";
inputs.nixpkgs.follows = "nixpkgs";
nix-index-database = {
url = "github:Mic92/nix-index-database";
outputs = {
nixpkgs,
nixpkgs-unstable,
...
} @ args: {
nixosConfigurations.alice = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = args;
modules = let
overlay-unstable = final: prev: {
unstable = nixpkgs-unstable.legacyPackages.${prev.system};
in [
./hosts/alice
(_: {nixpkgs.overlays = [(import ./overlay args) overlay-unstable];})
];
}