mirror of
https://github.com/nix-community/home-manager
synced 2024-11-17 00:29:45 +01:00
e753d659c6
* tests: `--show-trace` in CI (#4070) (cherry picked from commitf889ec0ec3
) * tests/stubs: inherit default versions from pkgs (#4069) * tests/stubs: inherit default versions from pkgs * tests/browserpass: temporarily disable on darwin The package currently fails to evaluate on darwin due to a nixpkgs problem: https://github.com/NixOS/nixpkgs/pull/236258#issuecomment-1583450593 (cherry picked from commit69bdd6de50
) * Espanso: Fix broken module to be compatible with Espanso version 2.x (#4066) * Fix espanso module to work with 2.x version * espanso: fix espanso module This module is currently broken. It does not create `config` and `match` folders which are required by espanso 2.x version. This PR fixed this issue and support creating multiple files under `config` and `match` folder. * Espanso: fix espanso module This module is currently broken. It does not create `config` and `match` folders which are required by espanso 2.x version. This PR fixed this issue and support creating multiple files under `config` and `match` folder. Add descriptions * Add versionAtLeast and mkRemovedOptionModule * Correct maintainers list * remove config key from example * format basic-configuration.nix * Update modules/services/espanso.nix Co-authored-by: Naïm Favier <n@monade.li> * fix maintainers list --------- Co-authored-by: Naïm Favier <n@monade.li> (cherry picked from commit1e5d741ea3
) --------- Co-authored-by: Li Yang <71299093+liyangau@users.noreply.github.com>
18 lines
315 B
YAML
18 lines
315 B
YAML
global_vars:
|
|
- name: currentdate
|
|
params:
|
|
format: '%d/%m/%Y'
|
|
type: date
|
|
- name: currenttime
|
|
params:
|
|
format: '%R'
|
|
type: date
|
|
matches:
|
|
- replace: It's {{currentdate}} {{currenttime}}
|
|
trigger: :now
|
|
- replace: 'line1
|
|
|
|
line2'
|
|
trigger: :hello
|
|
- regex: :hi(?P<person>.*)\.
|
|
replace: Hi {{person}}!
|