onlyoffice fonts workaround
This commit is contained in:
parent
07f0cd2128
commit
48f1796002
3 changed files with 37 additions and 31 deletions
|
|
@ -60,6 +60,43 @@
|
||||||
];
|
];
|
||||||
programs.partition-manager.enable = lib.mkDefault true;
|
programs.partition-manager.enable = lib.mkDefault true;
|
||||||
|
|
||||||
|
fonts.packages = with pkgs; [
|
||||||
|
# keep-sorted start
|
||||||
|
cooper-hewitt
|
||||||
|
ibm-plex
|
||||||
|
inconsolata
|
||||||
|
iosevka
|
||||||
|
libertine
|
||||||
|
linux-libertine-g
|
||||||
|
nerd-fonts.fira-code
|
||||||
|
nerd-fonts.iosevka-term
|
||||||
|
noto-fonts-cjk-sans
|
||||||
|
noto-fonts-cjk-serif
|
||||||
|
noto-fonts-color-emoji
|
||||||
|
# keep-sorted end
|
||||||
|
];
|
||||||
|
system.userActivationScripts = {
|
||||||
|
copy-fonts-local-share = {
|
||||||
|
text = ''
|
||||||
|
rm -rf ~/.local/share/fonts
|
||||||
|
mkdir -p ~/.local/share/fonts
|
||||||
|
cp ${pkgs.cooper-hewitt}/share/fonts/truetype/* ~/.local/share/fonts/
|
||||||
|
cp ${pkgs.ibm-plex}/share/fonts/truetype/* ~/.local/share/fonts/
|
||||||
|
cp ${pkgs.inconsolata}/share/fonts/truetype/* ~/.local/share/fonts/
|
||||||
|
cp ${pkgs.iosevka}/share/fonts/truetype/* ~/.local/share/fonts/
|
||||||
|
cp ${pkgs.libertine}/share/fonts/truetype/* ~/.local/share/fonts/
|
||||||
|
cp ${pkgs.linux-libertine-g}/share/fonts/truetype/* ~/.local/share/fonts/
|
||||||
|
cp ${pkgs.nerd-fonts.fira-code}/share/fonts/truetype/* ~/.local/share/fonts/
|
||||||
|
cp ${pkgs.nerd-fonts.iosevka-term}/share/fonts/truetype/* ~/.local/share/fonts/
|
||||||
|
cp ${pkgs.noto-fonts-cjk-sans}/share/fonts/truetype/* ~/.local/share/fonts/
|
||||||
|
cp ${pkgs.noto-fonts-cjk-serif}/share/fonts/truetype/* ~/.local/share/fonts/
|
||||||
|
cp ${pkgs.noto-fonts-color-emoji}/share/fonts/truetype/* ~/.local/share/fonts/
|
||||||
|
chmod 544 ~/.local/share/fonts
|
||||||
|
chmod 444 ~/.local/share/fonts/*
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
hardware.graphics.enable = true;
|
hardware.graphics.enable = true;
|
||||||
# hardware.opengl = {
|
# hardware.opengl = {
|
||||||
# enable = true;
|
# enable = true;
|
||||||
|
|
|
||||||
|
|
@ -94,22 +94,6 @@ in {
|
||||||
|
|
||||||
environment.shells = with pkgs; [nushell];
|
environment.shells = with pkgs; [nushell];
|
||||||
|
|
||||||
fonts.packages = with pkgs; [
|
|
||||||
nerd-fonts.iosevka-term
|
|
||||||
iosevka
|
|
||||||
libertine
|
|
||||||
inconsolata
|
|
||||||
linux-libertine-g
|
|
||||||
# keep-sorted start
|
|
||||||
cooper-hewitt
|
|
||||||
ibm-plex
|
|
||||||
nerd-fonts.fira-code
|
|
||||||
noto-fonts-cjk-sans
|
|
||||||
noto-fonts-cjk-serif
|
|
||||||
noto-fonts-color-emoji
|
|
||||||
# keep-sorted end
|
|
||||||
];
|
|
||||||
|
|
||||||
documentation.enable = true;
|
documentation.enable = true;
|
||||||
|
|
||||||
# virtualisation.libvirtd.enable = true;
|
# virtualisation.libvirtd.enable = true;
|
||||||
|
|
|
||||||
15
users/vy.nix
15
users/vy.nix
|
|
@ -28,21 +28,6 @@ in {
|
||||||
]);
|
]);
|
||||||
programs.kdeconnect.enable = true;
|
programs.kdeconnect.enable = true;
|
||||||
|
|
||||||
fonts.packages = with pkgs; [
|
|
||||||
libertine
|
|
||||||
inconsolata
|
|
||||||
linux-libertine-g
|
|
||||||
adwaita-fonts
|
|
||||||
# keep-sorted start
|
|
||||||
cooper-hewitt
|
|
||||||
ibm-plex
|
|
||||||
nerd-fonts.fira-code
|
|
||||||
noto-fonts-cjk-sans
|
|
||||||
noto-fonts-cjk-serif
|
|
||||||
noto-fonts-color-emoji
|
|
||||||
# keep-sorted end
|
|
||||||
];
|
|
||||||
|
|
||||||
services.flatpak.enable = true;
|
services.flatpak.enable = true;
|
||||||
|
|
||||||
services.snapper.configs = {
|
services.snapper.configs = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue