mirror of
https://codeberg.org/icewind/mitemp-prometheus.git
synced 2026-06-03 09:04:13 +02:00
flake update
This commit is contained in:
parent
cedb67af89
commit
cc5ac92510
5 changed files with 35 additions and 24 deletions
12
flake.nix
12
flake.nix
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue