Remove unused code

This commit is contained in:
Jakob Lechner 2025-04-14 22:24:51 +02:00
parent 3058e0d69c
commit 4c61cedf91
11 changed files with 11 additions and 12 deletions

View file

@ -87,7 +87,7 @@
}; };
apps = lib.mapAttrs apps = lib.mapAttrs
(name: program: { type = "app"; program = toString program; }) (_name: program: { type = "app"; program = toString program; })
(flake-utils.lib.flattenTree { (flake-utils.lib.flattenTree {
deploy = lib.recurseIntoAttrs (lib.mapAttrs deploy = lib.recurseIntoAttrs (lib.mapAttrs
(hostname: machine: (hostname: machine:
@ -121,7 +121,7 @@
}); });
packages = lib.filterAttrs packages = lib.filterAttrs
(n: v: lib.elem system v.meta.platforms) (_n: v: lib.elem system v.meta.platforms)
(flake-utils.lib.flattenTree { (flake-utils.lib.flattenTree {
inherit (pkgs) inherit (pkgs)
fablab; fablab;

View file

@ -1,4 +1,4 @@
{ config, lib, pkgs, modulesPath, ... }: { modulesPath, ... }:
{ {
imports = [ imports = [

View file

@ -1,4 +1,4 @@
{ inputs, lib, pkgs, ... }: { lib, pkgs, ... }:
let let
ledDevices = { ledDevices = {
kanister = { kanister = {

View file

@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }: { config, ... }:
{ {
imports = [ imports = [

View file

@ -1,4 +1,4 @@
{ config, lib, pkgs, modulesPath, ... }: { modulesPath, ... }:
{ {
imports = [ imports = [

View file

@ -1,4 +1,4 @@
{ inputs, lib, pkgs, ... }: { lib, pkgs, ... }:
let let
ledDevices = { ledDevices = {
workbench-1 = { workbench-1 = {

View file

@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }: { config, ... }:
let let
domain = "grafana.fablab-nea.de"; domain = "grafana.fablab-nea.de";

View file

@ -1,4 +1,3 @@
{ config, ... }:
{ {
services.mailhog.enable = true; services.mailhog.enable = true;
} }

View file

@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }: { config, lib, ... }:
let let
domain = "prometheus.fablab-nea.de"; domain = "prometheus.fablab-nea.de";

View file

@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }: { lib, pkgs, ... }:
let let
serviceName = "wekan"; serviceName = "wekan";
databaseName = "wekandb"; databaseName = "wekandb";

View file

@ -1,4 +1,4 @@
final: prev: _final: prev:
let let
inherit (prev) callPackage recurseIntoAttrs; inherit (prev) callPackage recurseIntoAttrs;
in in