Update inputs

This commit is contained in:
2025-05-05 15:36:27 +01:00
parent 795c8fab71
commit 17e3aa6841
3 changed files with 144 additions and 318 deletions

View File

@@ -1,21 +1,25 @@
{ lib, pkgs, config, ... }:
let
configurer = pkgs.substituteAll {
configurer = pkgs.replaceVarsWith {
src = ./configurer.py;
isExecutable = true;
python = pkgs.python3.withPackages (ps: with ps; [ pyyaml ]);
utilLinux = pkgs.util-linux;
wireguardTools = pkgs.wireguard-tools;
systemd = config.systemd.package;
iwd = config.networking.wireless.iwd.package;
replacements = {
python = pkgs.python3.withPackages (ps: with ps; [ pyyaml ]);
utilLinux = pkgs.util-linux;
wireguardTools = pkgs.wireguard-tools;
systemd = config.systemd.package;
iwd = config.networking.wireless.iwd.package;
};
};
app = pkgs.substituteAll {
app = pkgs.replaceVarsWith {
src = ./app.py;
isExecutable = true;
python = pkgs.python3.withPackages (ps: with ps; [ pyyaml aiohttp ]);
replacements = {
python = pkgs.python3.withPackages (ps: with ps; [ pyyaml aiohttp ]);
};
};
in
{

View File

@@ -7,8 +7,8 @@ let
in
{
trivial = prev.trivial // {
release = "24.08:u-${prev.trivial.release}";
codeName = "Alpha";
release = "25.05:u-${prev.trivial.release}";
codeName = "Beta";
revisionWithDefault = default: self.rev or default;
versionSuffix = ".${date}.${revCode self}:u-${revCode inputs.nixpkgs}";
};