mirror of
https://git.pvv.ntnu.no/Drift/pvv-nixos-config.git
synced 2026-02-20 08:57:53 +01:00
Compare commits
16 Commits
18167dca0a
...
PVVtheme20
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
98a3c2ebcc | ||
|
|
0d0ec8be51 | ||
|
|
181e13931b | ||
|
|
e67771fe7d | ||
|
|
da4ace6079 | ||
|
|
bca735ddc9 | ||
|
|
5ab1b45aa8 | ||
|
|
509e6dcaba | ||
|
|
cbed6e2c43 | ||
|
|
d1ace10a58 | ||
|
|
0fe5db2d65 | ||
|
|
264f147069 | ||
|
|
a070139443 | ||
|
|
1a96a18fe4 | ||
|
|
2ec17a72a4 | ||
|
|
3ad2fc3464 |
@@ -171,6 +171,7 @@
|
||||
(final: prev: {
|
||||
mediawiki-extensions = final.callPackage ./packages/mediawiki-extensions { };
|
||||
simplesamlphp = final.callPackage ./packages/simplesamlphp { };
|
||||
simplesamlphptheme = final.callPackage ./packages/simplesamlphptheme { };
|
||||
bluemap = final.callPackage ./packages/bluemap.nix { };
|
||||
})
|
||||
inputs.pvv-nettsiden.overlays.default
|
||||
|
||||
@@ -858,7 +858,11 @@ $config = [
|
||||
/*
|
||||
* Which theme directory should be used?
|
||||
*/
|
||||
'theme.use' => 'default',
|
||||
'module.enable' => [
|
||||
'pvv' => TRUE,
|
||||
],
|
||||
|
||||
'theme.use' => 'ssp-theme:pvv',
|
||||
|
||||
/*
|
||||
* Set this option to the text you would like to appear at the header of each page. Set to false if you don't want
|
||||
|
||||
@@ -97,6 +97,7 @@ let
|
||||
'';
|
||||
|
||||
"modules/authpwauth/src/Auth/Source/PwAuth.php" = ./authpwauth.php;
|
||||
#"modules/ssp-theme" = pkgs.simplesamlphptheme;
|
||||
};
|
||||
};
|
||||
in
|
||||
|
||||
29
packages/simplesamlphptheme/default.nix
Normal file
29
packages/simplesamlphptheme/default.nix
Normal file
@@ -0,0 +1,29 @@
|
||||
{ lib
|
||||
, php
|
||||
, stdenv
|
||||
, writeText
|
||||
, fetchFromGitea
|
||||
, extra_files ? { }
|
||||
|
||||
}:
|
||||
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "ssp-theme";
|
||||
version = "v1.2026";
|
||||
|
||||
src = fetchFromGitea {
|
||||
owner = "drift";
|
||||
repo = "ssp-theme";
|
||||
rev = "master";
|
||||
hash = "sha256-4d0TwJubfJrThctvE50HpPg0gqdJy595hewEcjfXlrs=";
|
||||
domain = "git.pvv.ntnu.no";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp -r ./ $out/bin/
|
||||
chmod -R +x $out/bin/
|
||||
'';
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user