Add script to push build Iosevka derivations to server
This commit is contained in:
parent
4f942e7d8d
commit
521e6e3115
|
@ -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"
|
||||
|
|
5
home/scripts/push-iosevka-cache.sh
Normal file
5
home/scripts/push-iosevka-cache.sh
Normal 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"
|
Loading…
Reference in a new issue