Regenerated
This commit is contained in:
+395
-356
File diff suppressed because it is too large
Load Diff
@@ -785,6 +785,38 @@ in
|
|||||||
}
|
}
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
|
** =generated/modules/traveldroid/apps/openoffice.nix=
|
||||||
|
This file sets up Kitty terminal
|
||||||
|
#+BEGIN_SRC nix :tangle generated/modules/traveldroid/apps/openoffice.nix :noweb yes :mkdirp yes :eval never
|
||||||
|
{ pkgs, lib, ... }:
|
||||||
|
{
|
||||||
|
environment.systemPackages = [ pkgs.onlyoffice-desktopeditors ];
|
||||||
|
|
||||||
|
nixpkgs.config.allowUnfreePredicate = pkg:
|
||||||
|
builtins.elem (lib.getName pkg) [ "corefonts" ];
|
||||||
|
|
||||||
|
fonts.packages = with pkgs; [
|
||||||
|
corefonts
|
||||||
|
];
|
||||||
|
|
||||||
|
# Automatically copy corefonts to ~/.local/share/fonts for ONLYOFFICE
|
||||||
|
systemd.user.services.onlyoffice-fonts = {
|
||||||
|
description = "Copy corefonts to user font directory for ONLYOFFICE";
|
||||||
|
wantedBy = [ "default.target" ];
|
||||||
|
serviceConfig = {
|
||||||
|
Type = "oneshot";
|
||||||
|
RemainAfterExit = true;
|
||||||
|
};
|
||||||
|
script = ''
|
||||||
|
mkdir -p $HOME/.local/share/fonts
|
||||||
|
cp -f ${pkgs.corefonts}/share/fonts/truetype/* $HOME/.local/share/fonts/
|
||||||
|
chmod 644 $HOME/.local/share/fonts/*
|
||||||
|
${pkgs.fontconfig}/bin/fc-cache -f $HOME/.local/share/fonts
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
}
|
||||||
|
#+END_SRC
|
||||||
|
|
||||||
** =generated/modules/traveldroid/apps/starship.nix=
|
** =generated/modules/traveldroid/apps/starship.nix=
|
||||||
This file sets up starship prompt
|
This file sets up starship prompt
|
||||||
#+BEGIN_SRC nix :tangle generated/modules/traveldroid/apps/starship.nix :noweb yes :mkdirp yes :eval never
|
#+BEGIN_SRC nix :tangle generated/modules/traveldroid/apps/starship.nix :noweb yes :mkdirp yes :eval never
|
||||||
|
|||||||
@@ -0,0 +1,28 @@
|
|||||||
|
# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
|
||||||
|
{ pkgs, lib, ... }:
|
||||||
|
{
|
||||||
|
environment.systemPackages = [ pkgs.onlyoffice-desktopeditors ];
|
||||||
|
|
||||||
|
nixpkgs.config.allowUnfreePredicate = pkg:
|
||||||
|
builtins.elem (lib.getName pkg) [ "corefonts" ];
|
||||||
|
|
||||||
|
fonts.packages = with pkgs; [
|
||||||
|
corefonts
|
||||||
|
];
|
||||||
|
|
||||||
|
# Automatically copy corefonts to ~/.local/share/fonts for ONLYOFFICE
|
||||||
|
systemd.user.services.onlyoffice-fonts = {
|
||||||
|
description = "Copy corefonts to user font directory for ONLYOFFICE";
|
||||||
|
wantedBy = [ "default.target" ];
|
||||||
|
serviceConfig = {
|
||||||
|
Type = "oneshot";
|
||||||
|
RemainAfterExit = true;
|
||||||
|
};
|
||||||
|
script = ''
|
||||||
|
mkdir -p $HOME/.local/share/fonts
|
||||||
|
cp -f ${pkgs.corefonts}/share/fonts/truetype/* $HOME/.local/share/fonts/
|
||||||
|
chmod 644 $HOME/.local/share/fonts/*
|
||||||
|
${pkgs.fontconfig}/bin/fc-cache -f $HOME/.local/share/fonts
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user