config/flake.nix

22 lines
497 B
Nix
Raw Permalink Normal View History

2024-11-17 20:28:14 +01:00
{
description = "Homelab configuration";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
2024-11-22 18:05:37 +01:00
impermanence.url = "github:nix-community/impermanence";
2024-11-17 20:28:14 +01:00
};
outputs =
{ self, nixpkgs, ... }@inputs:
let
outputs = self.outputs;
utils = import ./utils.nix { inherit nixpkgs inputs outputs; };
in
{
nixosConfigurations = {
2024-11-17 21:14:36 +01:00
"base" = utils.mkSystem [ ];
"nix-test" = utils.mkSystem [ ./systems/nix-test.nix ];
2024-11-17 20:28:14 +01:00
};
};
}