Add script to push build Iosevka derivations to server

This commit is contained in:
Evie Litherland-Smith 2024-03-02 16:56:49 +00:00
parent 4f942e7d8d
commit 521e6e3115
2 changed files with 7 additions and 0 deletions

View file

@ -2,6 +2,8 @@
home.packages = [
(pkgs.writeShellScriptBin "git-sync-all"
(builtins.readFile ./git-sync-all.sh))
(pkgs.writeShellScriptBin "push-iosevka-cache"
(builtins.readFile ./push-iosevka-cache.sh))
(pkgs.writeShellScriptBin "rsync-local-config"
(builtins.readFile ./rsync-local-config.sh))
(pkgs.writeShellScriptBin "xdg-query-program"

View file

@ -0,0 +1,5 @@
HOSTNAME=$(hostname)
IOSEVKA_ETOILE=/etc/nixos/#nixosConfigurations.$HOSTNAME.config.stylix.fonts.sansSerif.package
IOSEVKA_AILE=/etc/nixos/#nixosConfigurations.$HOSTNAME.config.stylix.fonts.serif.package
IOSEVKA_CUSTOM=/etc/nixos/#nixosConfigurations.$HOSTNAME.config.stylix.fonts.monospace.package
nix copy --to xenia@legion "$IOSEVKA_ETOILE" "$IOSEVKA_AILE" "$IOSEVKA_CUSTOM"