33 lines
773 B
Nix
33 lines
773 B
Nix
{
|
|
description = "Personal Infrastructure stuff?";
|
|
|
|
|
|
inputs = {
|
|
nixpkgs.url = "nixpkgs/nixos-23.05";
|
|
impermanence.url = "github:nix-community/impermanence";
|
|
};
|
|
|
|
|
|
outputs = {self, nixpkgs, impermanence}:
|
|
let
|
|
customPackagesModule = {...}: {
|
|
nixpkgs.overlays =
|
|
[
|
|
(super: self: { config-archive = super.callPackage ./lib/pkgs/config-archive.nix { }; })
|
|
];
|
|
};
|
|
|
|
in
|
|
{
|
|
nixosConfigurations = {
|
|
fugitive = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
modules = [
|
|
customPackagesModule
|
|
impermanence.outputs.nixosModules.impermanence
|
|
./lib/systems/fugitive
|
|
];
|
|
};
|
|
};
|
|
};
|
|
} |