flake.lock: bump inputs, flake.nix: fix misc, add checks

This commit is contained in:
2025-12-05 02:30:39 +09:00
parent c4a6a02c84
commit 1c199b29cf
2 changed files with 14 additions and 5 deletions
+11 -2
View File
@@ -29,9 +29,13 @@
};
};
checks = {
inherit (self.packages.${system}) pvv-calender-bot;
};
nixosModules.default = ./module.nix;
overlays.${system}.default = prevPackages: finalPackages: {
overlays.default = final: prev: {
inherit (self.packages.${system}) pvv-calendar-bot;
};
@@ -39,7 +43,7 @@
system = "x86_64-linux";
modules = [
self.nixosModules.default
{ nixpkgs.overlays = [ self.overlays."x86_64-linux".default ]; }
{ nixpkgs.overlays = [ self.overlays.default ]; }
{
boot.isContainer = true;
@@ -50,6 +54,11 @@
user = "testuser";
homeserver = "pvv.ntnu.no";
};
settings.database = {
host = "localhost";
user = "testuser";
passwordFile = pkgs.writeText "calendarDbPass" "oliveoil";
};
settings.secretsFile = pkgs.writeText "calendarSecrets" "snakeoil";
};
}