mirror of
https://git.pvv.ntnu.no/Drift/pvv-nixos-config.git
synced 2026-02-20 17:07:51 +01:00
Compare commits
14 Commits
2ec17a72a4
...
PVVtheme20
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
98a3c2ebcc | ||
|
|
0d0ec8be51 | ||
|
|
181e13931b | ||
|
|
e67771fe7d | ||
|
|
da4ace6079 | ||
|
|
bca735ddc9 | ||
|
|
5ab1b45aa8 | ||
|
|
509e6dcaba | ||
|
|
cbed6e2c43 | ||
|
|
d1ace10a58 | ||
|
|
0fe5db2d65 | ||
|
|
264f147069 | ||
|
|
a070139443 | ||
|
|
1a96a18fe4 |
@@ -171,6 +171,7 @@
|
|||||||
(final: prev: {
|
(final: prev: {
|
||||||
mediawiki-extensions = final.callPackage ./packages/mediawiki-extensions { };
|
mediawiki-extensions = final.callPackage ./packages/mediawiki-extensions { };
|
||||||
simplesamlphp = final.callPackage ./packages/simplesamlphp { };
|
simplesamlphp = final.callPackage ./packages/simplesamlphp { };
|
||||||
|
simplesamlphptheme = final.callPackage ./packages/simplesamlphptheme { };
|
||||||
bluemap = final.callPackage ./packages/bluemap.nix { };
|
bluemap = final.callPackage ./packages/bluemap.nix { };
|
||||||
})
|
})
|
||||||
inputs.pvv-nettsiden.overlays.default
|
inputs.pvv-nettsiden.overlays.default
|
||||||
|
|||||||
@@ -859,10 +859,10 @@ $config = [
|
|||||||
* Which theme directory should be used?
|
* Which theme directory should be used?
|
||||||
*/
|
*/
|
||||||
'module.enable' => [
|
'module.enable' => [
|
||||||
'themepvv' => TRUE,
|
'pvv' => TRUE,
|
||||||
],
|
],
|
||||||
|
|
||||||
'theme.use' => 'themepvv:pvv',
|
'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
|
* 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/authpwauth/src/Auth/Source/PwAuth.php" = ./authpwauth.php;
|
||||||
|
#"modules/ssp-theme" = pkgs.simplesamlphptheme;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
in
|
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