1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-08 11:36:05 +01:00
home-manager/tests
Sami Haahtinen 255b6a0ef2
home-manager-auto-upgrade: add flake support (#8053)
Adds the ability for the auto-upgrade service to update a Nix flake
instead of Nix channels.

This is controlled by a new `useFlake` boolean option. When enabled, the
service will run `nix flake update` in the directory specified by the
`flakeDir` option.

`flakeDir` defaults to the standard Home Manager configuration directory
(`~/.config/home-manager`), making this feature work out-of-the-box for
most users. The path is passed to the upgrade script via an environment
variable in the systemd service unit.
2025-10-26 16:21:41 -05:00
..
integration treewide: remove no-ops (#8061) 2025-10-26 15:43:53 -05:00
lib generators: rewrite toSCFG 2025-10-20 17:10:44 +02:00
modules home-manager-auto-upgrade: add flake support (#8053) 2025-10-26 16:21:41 -05:00
asserts.nix treewide: reformat nixfmt-rfc-style 2025-04-08 08:50:05 -07:00
big-test.nix treewide: Prevent IFD by default 2025-05-07 10:34:18 -05:00
darwinScrublist.nix anvil-editor: add module 2025-10-11 22:14:37 -05:00
default.nix treewide: remove no-ops (#8061) 2025-10-26 15:43:53 -05:00
flake.nix tests: rename test-all-* tests 2025-09-28 16:26:13 -05:00
stubs.nix treewide: remove no-ops (#8061) 2025-10-26 15:43:53 -05:00
tests.py tests: improve debugging for failed test runs 2025-09-28 16:28:05 -05:00