forked from mirrors_public/oddlama_nix-config
feat: use Segoe-UI fonts
This commit is contained in:
parent
5daa44e11c
commit
7b26c45fb8
3 changed files with 34 additions and 42 deletions
|
@ -3,6 +3,7 @@
|
|||
(import ./oauth2-proxy)
|
||||
(_self: super: {
|
||||
kanidm-secret-manipulator = super.callPackage ./kanidm-secret-manipulator.nix {};
|
||||
segoe-ui-ttf = super.callPackage ./segoe-ui-ttf.nix {};
|
||||
kanidm = super.kanidm.overrideAttrs (_finalAttrs: _previousAttrs: {
|
||||
patches = [
|
||||
(super.fetchpatch {
|
||||
|
|
20
pkgs/segoe-ui-ttf.nix
Normal file
20
pkgs/segoe-ui-ttf.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
}:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "segoe-ui";
|
||||
version = "unstable-2023-09-04";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mrbvrz";
|
||||
repo = "segoe-ui-linux";
|
||||
rev = "73b3a40c6c433d3b8149d945d4c441d4497d5f79";
|
||||
hash = "sha256-EwsoX6Rz1uaysCIxL11AHTKb2hfwKi/hNIKgG4MzR5o=";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/fonts/truetype
|
||||
install -m644 $src/font/*.ttf $out/share/fonts/truetype/
|
||||
'';
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue