Compare commits

..

32 commits
main ... main

Author SHA1 Message Date
3534f2a976 updates 2025-04-03 2025-04-03 11:08:19 +02:00
a654d8829c ftp: fix encoding 2025-03-26 19:30:44 +01:00
Frieder Hannenheim
d9ec2d1ccf add Master ese redirect for ifsr.de 2025-03-23 10:12:18 +01:00
f813d2c331
updates 2025-03-21 2025-03-21 16:27:18 +01:00
75648c3249
mysqlbackup: remove decisions 2025-03-21 14:50:30 +01:00
27a6253d9b
hack around mediawiki not being able to process symlinks 2025-03-21 14:49:52 +01:00
0ef987fd94
wiki: add MobileFrontend und Minerva 2025-03-18 16:36:37 +01:00
Frieder Hannenheim
3a218b625f update notenrechner 2025-03-17 17:27:29 +01:00
faceec13ae
overlays: remove rspamd patch 2025-03-16 01:28:07 +01:00
d02337cb13
updates 2025-03-16 2025-03-16 01:20:58 +01:00
b5d47bc5f7
secrets: cleanup and rotate 2025-03-08 00:08:27 +01:00
8f293cf453
sops: reencrypt without jonasga 2025-03-08 00:03:45 +01:00
a2a2a5c0f0 remove jonasga ssh and pgp keys - abschied aus dem fsr admin team 2025-03-05 22:30:18 +01:00
Benno Fünfstück
88d603bb63 hyperilo: fix ilo console 2025-03-01 16:35:17 +01:00
f98ddacd2b
update kpp 2025-02-26 15:17:15 +01:00
4c2c71f643
update kpp 2025-02-26 15:01:12 +01:00
608e5b9209
update kpp 2025-02-26 14:16:17 +01:00
708059a7b6
chore: ran deadnix 2025-02-15 00:32:05 +01:00
966fbde1e9
formatting 2025-02-15 00:31:05 +01:00
74c6cec7c6
rspamd: remove nixspam blocklist 2025-02-15 00:30:43 +01:00
00360fccc2
deploy new kpp version 2025-02-12 15:39:05 +01:00
edcba9dc85
updates 2025-02-04 2025-02-04 12:20:46 +01:00
Frieder Hannenheim
f1f330daab Neuer sharepic-generator. Keine Begrenzug auf Uninetz da keine SPD-Assets mehr 2025-02-03 19:13:19 +01:00
969ff27555
sharepic: limit to university nets 2025-02-02 19:59:42 +01:00
Frieder Hannenheim
839b00af20 add ssh key for frieder 2025-01-31 16:35:24 +01:00
Frieder Hannenheim
a8cb4d45ba update notenrechner to add disclaimer about correctness 2025-01-30 19:13:53 +01:00
7377c77952
sops: reencrypt secrets 2025-01-30 18:00:02 +01:00
Frieder Hannenheim
e9d1e22b43 update notenrechner to fix the package not building 2025-01-30 14:55:06 +01:00
Frieder Hannenheim
8b80988768 add sops key for Frieder Hannenheim 2025-01-30 13:33:51 +01:00
Frieder Hannenheim
a07d51bb56 Merge branch 'frieder.hannenheim-notenrechner' 2025-01-30 13:23:05 +01:00
Frieder Hannenheim
4782376b23 remove redundant forceSSL and enableACME from notenrechner.nix 2025-01-30 13:22:04 +01:00
Frieder Hannenheim
cca6385ce8 add notenrechner website 2025-01-30 13:10:44 +01:00
19 changed files with 204 additions and 282 deletions

View file

@ -8,8 +8,8 @@ keys:
- &fugi BF37903AE6FD294C4C674EE24472A20091BFA792
- &emmanuel E83F398E6423179FE4F63D4FF085CAD394DE329D
- &joachim B1A16011B86BACB56ADB713DB712039D23133661
- &jonasga FB44F0746DF25F0B24A2EAE586C8A257C3EC82AB
- &hendrik FBBFAC260D9283D1EF2397DD3CA65E9DD6EB319D
- &frieder age1x76ajqw8w4l5vlkwt5s3flz5a5jq5qlxv7uppmnf8ckj9egh9ekqjclzt6
- &quitte age1wvdnprpnq2rcc4se3zpx2p267n0apxg2jucvlm93e3pfj439ephqh2506t
- &tomate age18lwgjazaxujqgcc5j0gjllnykhtjn6p0q44jzrsk4au2a5k6nd9s77kd6d
@ -23,9 +23,9 @@ creation_rules:
- *rouven
- *fugi
- *joachim
- *jonasga
- *hendrik
age:
- *frieder
- *quitte
- path_regex: secrets/tomate\.yaml$
key_groups:
@ -36,9 +36,9 @@ creation_rules:
- *rouven
- *fugi
- *joachim
- *jonasga
- *hendrik
age:
- *frieder
- *tomate
- path_regex: secrets/admin\.yaml$
key_groups:
@ -49,5 +49,5 @@ creation_rules:
- *rouven
- *fugi
- *joachim
- *jonasga
- *hendrik
- *frieder

81
flake.lock generated
View file

@ -78,7 +78,7 @@
},
"flake-utils_3": {
"inputs": {
"systems": "systems_4"
"systems": "systems_5"
},
"locked": {
"lastModified": 1681202837,
@ -101,11 +101,11 @@
]
},
"locked": {
"lastModified": 1732530918,
"narHash": "sha256-O5cmb7xeIq1luKn9FbS3UP4aziP2UuBKARsq/w7CGqs=",
"lastModified": 1741421991,
"narHash": "sha256-3zjj1ahW+MTXYyonO2xcYeg2p21+KcEHtzCI/Bvj9do=",
"owner": "fsr",
"repo": "kpp",
"rev": "b867b6b3d4c604c177e1866d2babc7ae5c0f6a9d",
"rev": "0bd5b34145b398a597b17764d18360e4db8033f1",
"type": "github"
},
"original": {
@ -143,11 +143,11 @@
]
},
"locked": {
"lastModified": 1737861961,
"narHash": "sha256-LIRtMvAwLGb8pBoamzgEF67oKlNPz4LuXiRPVZf+TpE=",
"lastModified": 1743306489,
"narHash": "sha256-LROaIjSLo347cwcHRfSpqzEOa2FoLSeJwU4dOrGm55E=",
"owner": "nix-community",
"repo": "nix-index-database",
"rev": "79b7b8eae3243fc5aa9aad34ba6b9bbb2266f523",
"rev": "b3696bfb6c24aa61428839a99e8b40c53ac3a82d",
"type": "github"
},
"original": {
@ -174,11 +174,11 @@
},
"nixpkgs_2": {
"locked": {
"lastModified": 1738023785,
"narHash": "sha256-BPHmb3fUwdHkonHyHi1+x89eXB3kA1jffIpwPVJIVys=",
"lastModified": 1743576891,
"narHash": "sha256-vXiKURtntURybE6FMNFAVpRPr8+e8KoLPrYs9TGuAKc=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "2b4230bf03deb33103947e2528cac2ed516c5c89",
"rev": "44a69ed688786e98a101f02b712c313f1ade37ab",
"type": "github"
},
"original": {
@ -202,6 +202,27 @@
"type": "indirect"
}
},
"notenrechner": {
"inputs": {
"nixpkgs": [
"nixpkgs"
],
"utils": "utils"
},
"locked": {
"lastModified": 1742228793,
"narHash": "sha256-USud87Uu/ZI6R+4vM0hxLdkOUr6nsJCnAEeIrtSRkCU=",
"ref": "refs/heads/main",
"rev": "c100e3dba23a089fbdf403d2ba31cf87614ee035",
"revCount": 10,
"type": "git",
"url": "https://git.ifsr.de/frieder.hannenheim/notenrechner.git"
},
"original": {
"type": "git",
"url": "https://git.ifsr.de/frieder.hannenheim/notenrechner.git"
}
},
"poetry2nix": {
"inputs": {
"flake-utils": "flake-utils_2",
@ -254,6 +275,7 @@
"kpp": "kpp",
"nix-index-database": "nix-index-database",
"nixpkgs": "nixpkgs_2",
"notenrechner": "notenrechner",
"print-interface": "print-interface",
"sops-nix": "sops-nix",
"vscode-server": "vscode-server"
@ -266,11 +288,11 @@
]
},
"locked": {
"lastModified": 1737411508,
"narHash": "sha256-j9IdflJwRtqo9WpM0OfAZml47eBblUHGNQTe62OUqTw=",
"lastModified": 1743604509,
"narHash": "sha256-Hf5aYGP3hP+uNbcd4NrEMUAR+1o518uGzoeVyMzzJwo=",
"owner": "Mic92",
"repo": "sops-nix",
"rev": "015d461c16678fc02a2f405eb453abb509d4e1d4",
"rev": "4521de68fba1a36fae8caebce3d6e047179661f7",
"type": "github"
},
"original": {
@ -338,6 +360,21 @@
"type": "github"
}
},
"systems_5": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
},
"treefmt-nix": {
"inputs": {
"nixpkgs": [
@ -360,6 +397,24 @@
"type": "github"
}
},
"utils": {
"inputs": {
"systems": "systems_4"
},
"locked": {
"lastModified": 1731533236,
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"vscode-server": {
"inputs": {
"flake-utils": "flake-utils_3",

View file

@ -14,6 +14,9 @@
ese-manual.url = "git+https://git.ifsr.de/ese/manual-website";
ese-manual.inputs.nixpkgs.follows = "nixpkgs";
vscode-server.url = "github:nix-community/nixos-vscode-server";
notenrechner.url = "git+https://git.ifsr.de/frieder.hannenheim/notenrechner.git";
notenrechner.inputs.nixpkgs.follows = "nixpkgs";
course-management = {
url = "github:fsr/course-management";

View file

@ -1,92 +0,0 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQINBGNNDUkBEADJu4HorNwlrimCfAmf1Sb2iHMoS4xwYn7AaU+U3RVivIfB/qNi
+ggKF6osggihttIPEQqXqS591jutnIKP+KKvD9n8/jfCsDi5m6Ddwz61rL2NvEad
bMJSViUzIEIDgQTJT8CByWJpPPND3MoKOuEK/XUQpKmhACT8l+xWSz9UpxPchAUa
1vI7Q+jt/ik0EI7sH5WFaBzFj4xAwXXyWYuw6G5nP2oW237NLQnMwMFywLOyI7Qm
+PfY/l4HKrNFYBiuv4ToGU5tAb1a23Rp+IV9faPZsT0IFYdxdkQUuu9s2JZ2UnvV
VfJ0NWheToCY/R4TZkMDGhNSpotsRLhgdsVJsoBws61ndV/IgrIQbVnMNZrXvn+z
tOtdlECVflGIICJkbXtBiGtgMRdJMNHnt4a3/2yPtCTG03Kt+38COh0ox5j3+HIg
87Xxxln7z8zolalRkKi6NbOY7qoITcnbZIF972/8SI3UjYERJ4/ay9ucKIU1WLGv
Ei97s+IDHt8KXJizc4Z7XfssZ9BcIZ/ekfOopN2Av0U33LCcTKHw9ZVmuoZCfL+u
L8TDQLHJT75n+4yOTKXu00pYxWqT5FOFS0RMYb98QLDmcIDQ+B7pw82UGF3/3Fx6
YBNY4IjFqIovVmU1UKt4KdLrdOSN8cQtcCxORqT+89bjIG68DbIzO7iCpQARAQAB
tDFKb25hcyBHYWZma2UgPGpvbmFzLmdhZmZrZUBtYWlsYm94LnR1LWRyZXNkZW4u
ZGU+iQJUBBMBCgA+Ahs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asIlMxISLs3yHSf5sN7FNU2Oms/3EE5nY/pFZKR4V/bvk7FdG
UIE6/Pv9Z7Xw/y83CH+W72y83Ugk3iqFjcNcFRQ1JIHASqka5T2k6FTSfTvHlrRG
yTSsGe9r2Gkh8GkGmaMboIW/drd71w81Wn5wUWDZBWqEP0UMQ5mld/sGCnmiM2u7
yWbYXSTUvluutHsXZuhlAv8TGp6VkpCtmUquoM1UpmEGRb223YDPtBZdyOl+UnQE
b8pN0pt+yDlYXX7kMi/i9WgR/vKm6YlAKziJwOdnKG4bP/urZDz602BXJWH8TWim
/1CT5uMEdSEN5xBjyUt0q6Q1eGtB4Rub9J492yGJmp3IhvzeYoOmKjtmyPKFdDki
21eBTU/TSPHToYtVW3Xm5afdM9313Y+hB3gyC9cQWWJdDi/rUtVi//j8lQErKxoM
h97b5VOeFMO21EFXGiTLlPaP+qs7Ngqc4/Y7rGAbr50CVVDJUxawMO0+r32j+M2o
rBWzVWTKM0uFGTRdVzwWSnYTltU1JoZ0xmV9HGJhLuQHRJ+F+8n7YxIke9wVU1yR
q0Mleg==
=M2wX
-----END PGP PUBLIC KEY BLOCK-----

1
keys/ssh/frieder Normal file
View file

@ -0,0 +1 @@
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIH70IC7DaiGBYdftUhuOE9CatcdYj2L50eZfztQA+pVs fried@Frieders-Void-Laptop

View file

@ -1 +0,0 @@
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDpOQuIl31BL16yXdLlbzSDCle6bjE3WNVXzOV9ibdzEC3PpUufJDTU7FMW3WCO9fnYJ5osPKbV9nou5/10mPuN0g+k1e0NWUZNHbG+5zRqS7QYGFmtDC8EUTx1xnri5zMBMn9jzjNE8BkqvsjGrHcVCtI2T51slwFjE60GFkloQ7izRDrNkge1iM57KhoXz5MeYJtolDqeOh5P7nfAUR4bGT/gGtYVd85oCvbsHcjF9vgDovAfNP+zQhUn51ZOXvGp8+1/MAJVtxLfjC9Ma3LRiiliD6w5zcsksG5cUGcj2Sk9i/7nTm7g5MGo4EKwgPMw/MRzSRzvlZ76oPSPSLKn jonas@T14s

View file

@ -64,7 +64,6 @@
../../keys/ssh/jannusch
../../keys/ssh/jannusch-arch
../../keys/ssh/tassilo
../../keys/ssh/jonasga
../../keys/ssh/rouven
../../keys/ssh/joachim
];
@ -115,6 +114,7 @@
zsh
unzip
yazi
imagemagick
];
}

View file

@ -10,7 +10,6 @@
user = "mysql";
location = "/var/lib/backup/mysql";
databases = [
"decisions"
"fsrewsp"
"nightline"
"wiki_ese"

View file

@ -1,4 +1,4 @@
{ config, pkgs, ... }:
{ config, ... }:
let
domain = "kanboard.${config.networking.domain}";
domain_short = "kb.${config.networking.domain}";

View file

@ -12,5 +12,6 @@
./userdir.nix
./ftp.nix
./hyperilo.nix
./notenrechner.nix
];
}

View file

@ -11,6 +11,7 @@ in
fancyindex_exact_size off;
error_page 403 /403.html;
fancyindex_localtime on;
charset utf-8;
'';
locations."~/(klausuren|uebungen|skripte|abschlussarbeiten)".extraConfig = ''
allow 141.30.0.0/16;

View file

@ -12,6 +12,7 @@
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade_capitalized;
proxy_set_header Authorization ""; # drop the basic auth headers, otherwise remote console doesn't work
'';
};

View file

@ -60,6 +60,7 @@ in
"~ ^/cmd(/?[^\\n|\\r]*)$".return = "301 https://pad.ifsr.de$1";
"/bbb".return = "301 https://bbb.tu-dresden.de/b/fsr-58o-tmf-yy6";
"/kpp".return = "301 https://kpp.ifsr.de";
"/mese".return = "301 https://ifsr.de/news/mese-and-welcome-back";
"/sso".return = "301 https://sso.ifsr.de/realms/internal/account";
# security
"~* /(\.git|cache|bin|logs|backup|tests)/.*$".return = "403";

View file

@ -0,0 +1,9 @@
{ config, specialArgs, ... }:
let
domain = "notenrechner.${config.networking.domain}";
in
{
services.nginx.virtualHosts."${domain}" = {
root = specialArgs.notenrechner.packages."x86_64-linux".default;
};
}

View file

@ -1,60 +1,14 @@
{ pkgs, config, lib, ... }:
{ pkgs, config, ... }:
let
domain = "sharepic.${config.networking.domain}";
user = "sharepic";
group = "sharepic";
in
{
users.users.${user} = {
group = group;
isSystemUser = true;
};
users.groups.${group} = { };
services.phpfpm.pools.sharepic = {
user = "sharepic";
group = "sharepic";
settings = {
"listen.owner" = config.services.nginx.user;
"pm" = "dynamic";
"pm.max_children" = 32;
"pm.max_requests" = 500;
"pm.start_servers" = 2;
"pm.min_spare_servers" = 2;
"pm.max_spare_servers" = 5;
"php_admin_value[error_log]" = "stderr";
"php_admin_flag[log_errors]" = true;
"catch_workers_output" = true;
};
phpEnv."PATH" = lib.makeBinPath [ pkgs.php ];
};
services.nginx = {
enable = true;
virtualHosts."${domain}" = {
root = "/srv/web/sharepic";
extraConfig = ''
index index.php index.html;
'';
locations = {
"/" = {
tryFiles = "$uri $uri/ =404";
};
"~ \.php$" = {
extraConfig = ''
try_files $uri =404;
fastcgi_pass unix:${config.services.phpfpm.pools.sharepic.socket};
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_index index.php;
include ${pkgs.nginx}/conf/fastcgi_params;
include ${pkgs.nginx}/conf/fastcgi.conf;
fastcgi_param SCRIPT_FILENAME $document_root/$fastcgi_script_name;
'';
};
"/data".return = "403";
};
services.nginx.virtualHosts."${domain}" = {
root = pkgs.fetchFromGitHub {
owner = "jannikmenzel";
repo = "iFSR-Sharepicgenerator";
rev = "ac721d5fff2dba1f046939a6d6532b1a8cfceba8";
hash = "sha256-of+N58TDt2BcbDVEriKn6rjQVl0GdV4ZMEblrdUutZk=";
};
};
}

View file

@ -6,6 +6,9 @@ let
in
{
system.activationScripts.hacky-mediawiki-convert = ''
cp ${pkgs.imagemagick}/bin/convert /srv/web/wiki.ese/convert
'';
users.users.${user} = {
group = group;
isSystemUser = true;

View file

@ -38,6 +38,7 @@ in
};
extraConfig = ''
wfLoadSkin( 'MinervaNeue' );
$wgSitename = "FSR Wiki";
$wgArticlePath = '/$1';
@ -57,6 +58,7 @@ in
$wgUseAjax = true;
$wgEnableMWSuggest = true;
$wgDefaultSkin = 'timeless';
$wgDefaultMobileSkin = 'minerva';
//TODO what about $wgUpgradeKey ?
@ -75,13 +77,15 @@ in
],
];
'';
extensions = {
# some extensions are included and can enabled by passing null
VisualEditor = null;
# the dir in the mediawiki-1.42.3.tar.gz inside of the extension folder is called "SyntaxHighlight_GeSHi" not "SyntaxHighlight"
SyntaxHighlight_GeSHi = null;
MobileFrontend = pkgs.fetchzip {
url = "https://extdist.wmflabs.org/dist/extensions/MobileFrontend-REL1_43-3b4cac8.tar.gz";
hash = "sha256-aJOArZl+oO/ADjxIhlFVGS8hGmpSp6nsgC7XkKEk1Ks=";
};
PluggableAuth = pkgs.fetchzip {
url = "https://extdist.wmflabs.org/dist/extensions/PluggableAuth-REL1_42-1da98f4.tar.gz";
hash = "sha256-5uBUy7lrr86ApASYPWgF6Wa09mxxP0o+lXLt1gVswlA=";

View file

@ -1,6 +1,7 @@
_final: prev:
let
inherit (prev) fetchurl;
inherit (prev) fetchpatch;
inherit (prev) callPackage;
in
{

File diff suppressed because one or more lines are too long