mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-06-08 02:09:04 +02:00
feat: deploy artiflakery to gustave
This commit is contained in:
parent
de74b6d270
commit
1f8eff3355
3 changed files with 109 additions and 0 deletions
108
machines/gustave/artiflakery.nix
Normal file
108
machines/gustave/artiflakery.nix
Normal file
|
@ -0,0 +1,108 @@
|
||||||
|
{ config, lib, ... }:
|
||||||
|
{
|
||||||
|
|
||||||
|
age.secrets."artiflakery-auth" = {
|
||||||
|
file = ../../secrets/artiflakery-auth.age;
|
||||||
|
owner = "artiflakery";
|
||||||
|
};
|
||||||
|
|
||||||
|
services.nginx.virtualHosts."static.luj.fr" = {
|
||||||
|
forceSSL = true;
|
||||||
|
enableACME = true;
|
||||||
|
locations."/" = {
|
||||||
|
proxyPass = "http://localhost:8090";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
users.users.artiflakery.isSystemUser = lib.mkForce false;
|
||||||
|
users.users.artiflakery.isNormalUser = lib.mkForce true;
|
||||||
|
|
||||||
|
services.artiflakery = {
|
||||||
|
enable = true;
|
||||||
|
authFile = config.age.secrets."artiflakery-auth".path;
|
||||||
|
routes = {
|
||||||
|
"papers/2024/increasing-trust-scc-rb-fpm/" = {
|
||||||
|
flakeref = "git+ssh://git@gitlab.enst.fr/julien.malka/phd.git?dir=productions/papers/2024-ICSE-doctoral-symposium&ref=main";
|
||||||
|
access = [
|
||||||
|
"public"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
"papers/2024/reproducibility-env-space-time/" = {
|
||||||
|
flakeref = "git+ssh://git@gitlab.enst.fr/julien.malka/phd.git?dir=productions/papers/2024-ICSE-reproducibility-build-env-space-time&ref=main";
|
||||||
|
access = [
|
||||||
|
"public"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
"papers/2025/bitwise-reproducibility-at-scale/" = {
|
||||||
|
flakeref = "git+ssh://git@gitlab.enst.fr/julien.malka/phd.git?dir=productions/papers/2025-MSR-reproducibility&ref=main";
|
||||||
|
access = [
|
||||||
|
"public"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
"papers/WIP/xz-mitigation-rb/" = {
|
||||||
|
flakeref = "git+ssh://git@gitlab.enst.fr/julien.malka/phd.git?dir=productions/papers/2025-xz-reproducible-builds&ref=main";
|
||||||
|
access = [
|
||||||
|
"phd"
|
||||||
|
"julien"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
"posters/2024/ICSE-DS/" = {
|
||||||
|
flakeref = "git+ssh://git@gitlab.enst.fr/julien.malka/phd.git?dir=productions/posters/2024-ICSE-DS&ref=main";
|
||||||
|
access = [
|
||||||
|
"public"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
"posters/2025/MSR/" = {
|
||||||
|
flakeref = "git+ssh://git@gitlab.enst.fr/julien.malka/phd.git?dir=productions/posters/2025-MSR&ref=main";
|
||||||
|
access = [
|
||||||
|
"public"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
"slides/2023/journee-gdr-gpl/" = {
|
||||||
|
flakeref = "git+ssh://git@gitlab.enst.fr/julien.malka/phd.git?dir=productions/slides/2023-gdr-gpl-days&ref=main";
|
||||||
|
access = [
|
||||||
|
"public"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
"slides/2024/csi-year-1/" = {
|
||||||
|
flakeref = "git+ssh://git@gitlab.enst.fr/julien.malka/phd.git?dir=productions/slides/2024-csi-year-1&ref=main";
|
||||||
|
access = [
|
||||||
|
"phd"
|
||||||
|
"julien"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
"slides/2024/phd-symposium-infres/" = {
|
||||||
|
flakeref = "git+ssh://git@gitlab.enst.fr/julien.malka/phd.git?dir=productions/slides/2024-phd-symposium-infres&ref=main";
|
||||||
|
access = [
|
||||||
|
"public"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
"slides/2024/point-etape-mai/" = {
|
||||||
|
flakeref = "git+ssh://git@gitlab.enst.fr/julien.malka/phd.git?dir=productions/slides/2024-point-etape-main&ref=main";
|
||||||
|
access = [
|
||||||
|
"phd"
|
||||||
|
"julien"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
"slides/2024/reading-group-build-systems/" = {
|
||||||
|
flakeref = "git+ssh://git@gitlab.enst.fr/julien.malka/phd.git?dir=productions/slides/2024-reading-group-build-systems&ref=main";
|
||||||
|
access = [
|
||||||
|
"aces"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
"slides/2024/reading-group-vulnerabilities-ssc/" = {
|
||||||
|
flakeref = "git+ssh://git@gitlab.enst.fr/julien.malka/phd.git?dir=productions/slides/2024-reading-group-vulnerabilities-ssc&ref=main";
|
||||||
|
access = [
|
||||||
|
"aces"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
"slides/2025/assert-june-workshop/" = {
|
||||||
|
flakeref = "git+ssh://forgejo@git.luj.fr/luj/assert-prez.git?ref=main";
|
||||||
|
access = [
|
||||||
|
"assert"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
|
@ -18,6 +18,7 @@
|
||||||
./nextcloud.nix
|
./nextcloud.nix
|
||||||
./glance.nix
|
./glance.nix
|
||||||
./syncthing.nix
|
./syncthing.nix
|
||||||
|
./artiflakery.nix
|
||||||
"${inputs.unstable}/nixos/modules/services/web-apps/readeck.nix"
|
"${inputs.unstable}/nixos/modules/services/web-apps/readeck.nix"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
BIN
secrets/artiflakery-auth.age
Normal file
BIN
secrets/artiflakery-auth.age
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue