# TODO: encryption
{
inputs = {
agenix.url = "github:ryantm/agenix";
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";
home-manager = {
url = "github:nix-community/home-manager/release-23.11";
inputs.nixpkgs.follows = "nixpkgs";
};
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];})
];
}