2022-03-04 16:40:11 +01:00
|
|
|
{
|
2022-09-06 17:16:31 +02:00
|
|
|
inputs = {
|
2023-05-25 22:58:14 +02:00
|
|
|
nixpkgs.url = github:nixos/nixpkgs/nixos-23.05;
|
2022-03-04 16:40:11 +01:00
|
|
|
sops-nix.url = github:Mic92/sops-nix;
|
|
|
|
sops-nix.inputs.nixpkgs.follows = "nixpkgs";
|
2023-09-19 16:03:41 +02:00
|
|
|
nix-index-database.url = "github:nix-community/nix-index-database";
|
|
|
|
nix-index-database.inputs.nixpkgs.follows = "nixpkgs";
|
2023-07-04 15:56:50 +02:00
|
|
|
kpp.url = "github:fsr/kpp";
|
|
|
|
kpp.inputs.nixpkgs.follows = "nixpkgs";
|
2023-06-08 13:34:45 +02:00
|
|
|
course-management = {
|
|
|
|
url = "github:fsr/course-management";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2022-03-04 16:40:11 +01:00
|
|
|
};
|
2023-09-19 16:03:41 +02:00
|
|
|
outputs = { self, nixpkgs, sops-nix, nix-index-database, kpp, course-management, ... }@inputs:
|
2023-05-25 22:58:14 +02:00
|
|
|
{
|
2023-08-16 14:51:01 +02:00
|
|
|
packages."x86_64-linux".quitte = self.nixosConfigurations.quitte.config.system.build.toplevel;
|
2022-11-11 16:37:17 +01:00
|
|
|
packages."x86_64-linux".default = self.packages."x86_64-linux".quitte;
|
2023-02-15 15:16:29 +01:00
|
|
|
formatter.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.nixpkgs-fmt;
|
2023-08-23 16:53:43 +02:00
|
|
|
hydraJobs."x86-64-linux".quitte = self.packages."x86_64-linux".quitte;
|
2022-04-19 16:39:09 +02:00
|
|
|
|
2022-09-06 17:16:31 +02:00
|
|
|
nixosConfigurations = {
|
|
|
|
quitte = nixpkgs.lib.nixosSystem {
|
|
|
|
system = "x86_64-linux";
|
2023-09-27 15:08:12 +02:00
|
|
|
specialArgs = inputs;
|
2022-09-06 17:16:31 +02:00
|
|
|
modules = [
|
|
|
|
inputs.sops-nix.nixosModules.sops
|
2023-07-04 15:56:50 +02:00
|
|
|
inputs.kpp.nixosModules.default
|
2023-09-19 16:03:41 +02:00
|
|
|
inputs.nix-index-database.nixosModules.nix-index
|
2023-06-08 13:34:45 +02:00
|
|
|
course-management.nixosModules.default
|
2022-09-06 17:16:31 +02:00
|
|
|
./hosts/quitte/configuration.nix
|
2023-07-19 15:46:49 +02:00
|
|
|
./modules/bacula.nix
|
2022-12-17 19:12:41 +01:00
|
|
|
./modules/options.nix
|
2022-09-06 17:16:31 +02:00
|
|
|
./modules/base.nix
|
|
|
|
./modules/sops.nix
|
2023-07-04 15:56:50 +02:00
|
|
|
./modules/kpp.nix
|
2023-07-04 15:10:00 +02:00
|
|
|
./modules/ldap
|
2023-09-04 13:14:05 +02:00
|
|
|
./modules/mail
|
2023-04-04 14:27:43 +02:00
|
|
|
./modules/mailman.nix
|
2022-09-06 17:16:31 +02:00
|
|
|
./modules/nginx.nix
|
2023-08-23 16:53:43 +02:00
|
|
|
./modules/hydra.nix
|
2023-06-30 13:57:21 +02:00
|
|
|
./modules/userdir.nix
|
2022-11-18 19:08:43 +01:00
|
|
|
./modules/hedgedoc.nix
|
2023-08-22 14:55:56 +02:00
|
|
|
./modules/padlist.nix
|
2023-08-21 11:40:56 +02:00
|
|
|
./modules/postgres.nix
|
2022-09-06 17:16:31 +02:00
|
|
|
./modules/wiki.nix
|
2023-04-03 22:48:14 +02:00
|
|
|
./modules/ftp.nix
|
2022-09-28 08:06:27 +02:00
|
|
|
./modules/stream.nix
|
2022-11-18 17:00:20 +01:00
|
|
|
./modules/nextcloud.nix
|
2022-12-17 19:11:37 +01:00
|
|
|
./modules/matrix.nix
|
2023-10-08 13:42:29 +02:00
|
|
|
# ./modules/mautrix-telegram.nix
|
2023-04-03 23:14:12 +02:00
|
|
|
./modules/sogo.nix
|
2023-07-04 14:20:55 +02:00
|
|
|
./modules/vaultwarden.nix
|
2023-08-16 13:24:56 +02:00
|
|
|
./modules/website.nix
|
2023-07-19 15:01:47 +02:00
|
|
|
./modules/zsh.nix
|
2023-10-02 17:32:52 +02:00
|
|
|
./modules/course-management.nix
|
2023-09-27 15:08:12 +02:00
|
|
|
./modules/courses-phil.nix
|
2023-06-22 00:05:52 +02:00
|
|
|
./modules/gitea.nix
|
2023-10-04 18:49:12 +02:00
|
|
|
./modules/fail2ban.nix
|
2022-09-06 17:16:31 +02:00
|
|
|
{
|
2022-11-11 16:37:17 +01:00
|
|
|
sops.defaultSopsFile = ./secrets/quitte.yaml;
|
|
|
|
}
|
|
|
|
];
|
|
|
|
};
|
2022-08-16 14:20:36 +02:00
|
|
|
};
|
2022-03-04 16:40:11 +01:00
|
|
|
};
|
|
|
|
}
|