git-pr-nix @main -
refs -
log -
-
https://git.jolheiser.com/git-pr-nix.git
Signature
-----BEGIN SSH SIGNATURE-----
U1NIU0lHAAAAAQAAADMAAAALc3NoLWVkMjU1MTkAAAAgBTEvCQk6VqUAdN2RuH6bj1dNkY
oOpbPWj+jw4ua1B1cAAAADZ2l0AAAAAAAAAAZzaGE1MTIAAABTAAAAC3NzaC1lZDI1NTE5
AAAAQLooJUR5sdme+L4YMaIj152P1oPeHZwr93CytZAop+6iqsc3tuiet9gogaHkZWXAin
ut867J+8k9Z94XK0Cihg8=
-----END SSH SIGNATURE-----
diff --git a/flake.nix b/flake.nix
index 289918519eca9c1f8c55a2bd7ea6296e929eef3e..32219644e283d3dde05b892bb79f9f3bf64e9729 100644
--- a/flake.nix
+++ b/flake.nix
@@ -13,7 +13,7 @@ "aarch64-linux"
"armv6l-linux"
"armv7l-linux"
];
- forAllSystems = f: nixpkgs.lib.genAttrs systems (system: f system);
+ forAllSystems = f: nixpkgs.lib.genAttrs systems f;
in {
overlays.default = import ./overlay;
nixosModules.git-pr = import ./module;
diff --git a/module/default.nix b/module/default.nix
index 1dfa318820366b69d907ccefa4fc1e167ec75333..2c5808bafec696cfcef768449a0f6d20dca3c7dc 100644
--- a/module/default.nix
+++ b/module/default.nix
@@ -9,14 +8,10 @@ pkg = pkgs.callPackage ../pkg {inherit pkgs;};
tomlFormat = pkgs.formats.toml {};
configFile = tomlFormat.generate "git-pr-config" (lib.recursiveUpdate {
url = cfg.url;
data_dir = cfg.dataDir;
{
- lib,
-{
pkgs,
web_port = cfg.webPort;
- host = cfg.host;
- theme = cfg.theme;
repo =
builtins.map (repo: {
inherit (repo) id desc;