Unify package config and import

This commit is contained in:
Yan Lin 2025-08-30 07:38:59 +02:00
parent 1ac0a29a59
commit 13cfcca90c
4 changed files with 6 additions and 4 deletions

View file

@ -1,6 +1,8 @@
{ pkgs, lib, ... }:
{
# Install papis package
home.packages = [ pkgs.papis ];
# Papis configuration
home.file.${if pkgs.stdenv.isDarwin then "Library/Application Support/papis/config" else ".config/papis/config"}.text = ''
[settings]

View file

@ -1,6 +1,8 @@
{ config, pkgs, lib, ... }:
{
# Install rsync package
home.packages = [ pkgs.rsync ];
# Rsync exclude patterns for common files and directories
home.file.".rsync-exclude".text = ''
# macOS specific

View file

@ -1,6 +1,8 @@
{ config, pkgs, lib, ... }:
{
# Install termscp package
home.packages = [ pkgs.termscp ];
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