bring back nix-darwin hosts compatability

This commit is contained in:
Yan Lin 2025-11-13 10:40:27 +01:00
parent 1b6a0430d2
commit 0bf4fb87c6
13 changed files with 579 additions and 31 deletions

View file

@ -3,7 +3,7 @@
{
# Install termscp package
home.packages = [ pkgs.termscp ];
home.file.".config/termscp/config.toml".text = ''
home.file.${if pkgs.stdenv.isDarwin then "Library/Application Support/termscp/config.toml" else ".config/termscp/config.toml"}.text = ''
# termscp configuration file
# Generated by Nix - see modules/termscp.nix for customization