flake.lock: bump inputs, flake.nix: fix misc, add checks
This commit is contained in:
@@ -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";
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user