headplane_headscale_nix/flake.nix.notworkingbackup

24 lines
651 B
Plaintext

{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.05";
headscale.url = "github:juanfont/headscale";
headplane = {
url = "github:dahjah/headplane";
inputs.nixpkgs.follows = "nixpkgs"; # Add dependency tracking
};
};
outputs = { self, nixpkgs, headscale, headplane, ... }@inputs: {
nixosConfigurations.headscale = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
./configuration.nix
./hardware-configuration.nix
./headscale.nix
headplane.nixosModules.headplane # Changed to default
];
specialArgs = { inherit inputs; };
};
};
}