Closed charmoniumQ closed 9 months ago
You will also have to add the overlay, I included it in the readme. Thanks for letting me know. This should work:
{
inputs.firefly.url = "github:timhae/firefly";
inputs.firefly.inputs.nixpkgs.follows = "nixos";
inputs.nixos.url = "github:NixOS/nixpkgs/nixos-22.11";
outputs = { self, nixos, firefly }: {
nixosConfigurations.myMachine = nixos.lib.nixosSystem {
system = "x86_64-linux";
modules = [
firefly.nixosModules.firefly-iii
{
nixpkgs.overlays = [
firefly.overlays.default
];
services.firefly-iii = {
enable = true;
appKeyFile = "/etc/firefly-iii/appkey";
};
}
];
};
packages."x86_64-linux".default = self.nixosConfigurations.myMachine.config.system.build.vm;
};
}
will update once I have better internet
I'm trying to import this module in a NixOS configuration, but I get this error: