Regenerated

This commit is contained in:
2026-04-17 19:51:01 +02:00
parent ba82085b37
commit 6d9d4b6bcc
3 changed files with 455 additions and 356 deletions
+395 -356
View File
File diff suppressed because it is too large Load Diff
+32
View File
@@ -785,6 +785,38 @@ in
}
#+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=
This file sets up starship prompt
#+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
'';
};
}