Compare commits
1 commit
38ab34aaf3
...
22454af58a
Author | SHA1 | Date | |
---|---|---|---|
22454af58a |
2 changed files with 15 additions and 6 deletions
|
@ -6,6 +6,8 @@
|
|||
pkgs,
|
||||
sources,
|
||||
config,
|
||||
meta,
|
||||
nixpkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
|
@ -13,6 +15,18 @@ let
|
|||
port = 9008;
|
||||
in
|
||||
{
|
||||
nixpkgs.overlays =
|
||||
if meta.nodes."web01".nixpkgs.version == "25.05" then
|
||||
throw "This overlay should be removed"
|
||||
else
|
||||
[
|
||||
(_: super: {
|
||||
lib = super.lib // {
|
||||
inherit (nixpkgs.nixos."25.05".lib) concatMapAttrsStringSep;
|
||||
};
|
||||
})
|
||||
];
|
||||
|
||||
services.nimbolus-tf = {
|
||||
enable = true;
|
||||
package = (import sources.kat-pkgs { inherit pkgs; }).nimbolus-tf-backend;
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
}:
|
||||
let
|
||||
inherit (lib)
|
||||
concatMapAttrsStringSep
|
||||
escapeShellArg
|
||||
getExe
|
||||
mkEnableOption
|
||||
|
@ -23,12 +24,6 @@ let
|
|||
str
|
||||
;
|
||||
|
||||
# from nixpkgs, commit b1371135b5db3fcf728114d92d5bd0218109598a
|
||||
# FIXME: Should be replaced by nixpkgs lib when going to nixos-25.05
|
||||
concatMapAttrsStringSep =
|
||||
sep: f: attrs:
|
||||
lib.concatStringsSep sep (lib.attrValues (lib.mapAttrs f attrs));
|
||||
|
||||
cfg = config.services.nimbolus-tf;
|
||||
in
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue