homelab/nixos/hephaestus/flake.nix

28 lines
875 B
Nix
Raw Normal View History

2025-02-12 20:40:04 +00:00
{
description = "A simple NixOS flake";
inputs = {
# NixOS official package source, using the nixos-24.11 branch here
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11";
2025-04-03 18:53:28 +00:00
authentik-nix = {
url = "github:nix-community/authentik-nix";
## optional overrides. Note that using a different version of nixpkgs can cause issues, especially with python dependencies
# inputs.nixpkgs.follows = "nixpkgs"
# inputs.flake-parts.follows = "flake-parts"
};
2025-02-12 20:40:04 +00:00
};
outputs = { self, nixpkgs, ... }@inputs: {
# Please replace my-nixos with your hostname
nixosConfigurations.hephaestus = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
# Import the previous configuration.nix we used,
# so the old configuration file still takes effect
./configuration.nix
2025-02-12 21:03:11 +00:00
./nginx.nix
2025-02-12 20:40:04 +00:00
];
};
};
}