1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-27 20:29:47 +01:00
Commit graph

3 commits

Author SHA1 Message Date
Matthieu Coudron
3066cc58f5
kanshi: dont write config in absence of nix settings (#6198) 2024-12-12 23:48:46 +01:00
O. C. Taskin
daaf0c2f8d
kanshi: add support for output aliases
- Add `services.kanshi.profiles.<name>.outputs.*.alias` to support new
  alias directive from kanshi [1].
  - Add an assertion to reject aliases not on global scope, which are
    not allowed on kanshi [2].
  - Add a new test to check alias rejection, `alias-assertion`.
- Add relevant coverage by modifying the existing "new-configuration"
  test.
- Kanshi also doesn't allow wildcards on global scope [3], correct the
  faulty test case.

[1]: 1ed86ce523
[2]: 1605f7c813/item/doc/kanshi.5.scd (L78)
[3]: 1605f7c813/item/doc/kanshi.5.scd (L80)
2024-09-13 10:51:33 +02:00
Vincent Gatine
4855bfb6ce
kanshi: update configuration to better match upstream 2024-05-10 12:46:37 +02:00