mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 09:54:40 +02:00
treewide: fix deadnix errors
This commit is contained in:
parent
a36dccb271
commit
46881de8eb
59 changed files with 70 additions and 93 deletions
|
@ -2,7 +2,6 @@
|
|||
{ config, lib, pkgs, inputs, ... }:
|
||||
let
|
||||
cfg = config.my.services.node-exporter;
|
||||
domain = config.networking.domain;
|
||||
in
|
||||
{
|
||||
options.my.services.node-exporter = with lib; {
|
||||
|
@ -57,7 +56,7 @@ in
|
|||
let
|
||||
inputsWithDate = lib.filterAttrs (_: input: input ? lastModified) inputs;
|
||||
flakeAttrs = input: (lib.mapAttrsToList (n: v: ''${n}="${v}"'')
|
||||
(lib.filterAttrs (n: v: (builtins.typeOf v) == "string") input));
|
||||
(lib.filterAttrs (_n: v: (builtins.typeOf v) == "string") input));
|
||||
lastModified = name: input: ''
|
||||
flake_input_last_modified{input="${name}",${lib.concatStringsSep "," (flakeAttrs input)}} ${toString input.lastModified}'';
|
||||
in
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue