flake update

This commit is contained in:
Robin Appelman 2026-03-27 21:41:37 +01:00
commit cc5ac92510
5 changed files with 35 additions and 24 deletions

View file

@ -1,6 +1,6 @@
{
inputs = {
nixpkgs.url = "nixpkgs/nixos-25.05";
nixpkgs.url = "nixpkgs/nixos-25.11";
flakelight = {
url = "github:nix-community/flakelight";
inputs.nixpkgs.follows = "nixpkgs";
@ -12,7 +12,13 @@
};
outputs = {mill-scale, ...}:
mill-scale ./. {
packages.mitemp-prometheus = import ./package.nix;
withOverlays = [
(import ./nix/overlay.nix)
];
packages = {
mitemp-prometheus = pkgs: pkgs.mitemp-prometheus;
};
nixosModules = {outputs, ...}: {
default = {
@ -21,7 +27,7 @@
lib,
...
}: {
imports = [./module.nix];
imports = [./nix/module.nix];
config = lib.mkIf config.services.mitemp.enable {
nixpkgs.overlays = [outputs.overlays.default];
services.mitemp.package = lib.mkDefault pkgs.mitemp-prometheus;